Table of Contents

Method CreateElement

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

CreateElement(Action<LayoutContainer>)

Creates the dynamic element.

public LayoutElement CreateElement(Action<LayoutContainer> content)

Parameters

content Action<LayoutContainer>

The content of the created element.

Returns

LayoutElement

The created element.

Remarks

You can pass the created element to the Element(LayoutElement) method or to the LayoutComponentContent constructor.

Exceptions

ArgumentNullException

content is null.