Apitron.PDF.Kit library for .NET
SystemObject
Apitron.PDF.Kit.FlowLayoutContentElement
More...
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Top
Top
SystemObject
Apitron.PDF.Kit.FlowLayoutContentElement
Apitron.PDF.Kit.FlowLayoutContainerElementT
Apitron.PDF.Kit.FlowLayout.ContentBr
Apitron.PDF.Kit.FlowLayout.ContentContentReference
Apitron.PDF.Kit.FlowLayout.Content.ControlsControlElement
Apitron.PDF.Kit.FlowLayout.ContentHr
Apitron.PDF.Kit.FlowLayout.ContentImage
Apitron.PDF.Kit.FlowLayout.ContentPageBreak
Apitron.PDF.Kit.FlowLayout.ContentPageCount
Apitron.PDF.Kit.FlowLayout.ContentTextBlock
Represents a base class for all content elements.
Inheritance Hierarchy
Apitron.PDF.Kit.FlowLayoutContentElement
More...
Namespace: Apitron.PDF.Kit.FlowLayout
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
The ContentElement type exposes the following members.
Properties
Name | Description | |
---|---|---|
Align |
Gets or sets the text align.
| |
Background |
Gets or sets the background color.
| |
BackgroundImage |
Gets or sets the background image for the element.
The background of an element is the total size of the element, including padding (but not the margin and border).
By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally.
| |
BackgroundPosition |
Gets or sets the background position value for the element.
The background position property sets the starting position of a background image.
| |
BackgroundRepeat |
Gets or sets the background repeat value for the element.
The background repeat property sets if/how a background image will be repeated. By default, a background image is repeated both vertically and horizontally.
| |
Bookmark |
Gets or sets the bookmark.
| |
Border |
Gets or sets the border around the element.
| |
BorderBottom |
Gets or sets the bottom border.
| |
BorderColor |
Gets or sets the color of the border.
| |
BorderLeft |
Gets or sets the left border.
| |
BorderRadius |
Gets or sets the border radius. Can be set using percentage value, in this case it's calculated using content width including padding as a base.
| |
BorderRight |
Gets or sets the right border.
| |
BorderTop |
Gets or sets the top border.
| |
CellPadding |
Gets or sets the cell padding, affects only Grid elements.
| |
CharacterSpacing |
Gets or sets the character spacing.
| |
Class |
Gets or sets classes list this element belongs to, so it will match selectors for this class. Use space to separate classes from each other.
| |
Clear |
Gets or sets the clear flag for the element indicating whether it should ignore floating elements (if any) and start a new line.
| |
Color |
Gets or sets the foreground color for the element.
| |
ColSpan |
Gets or sets the column span that this element takes. Affects element placed inside the Grid container.
| |
Display |
Gets or sets the display setting for the element.
| |
Empty |
Gets the empty element, designed to represent an empty entry in GridRow. Can't be inserted to other containers.
| |
Float |
Gets or sets the value indicating that element can float.
| |
Font |
Gets or sets the font for the element.
| |
Height |
Gets or sets the height of the element.
| |
Id |
Gets or sets Id.
| |
InnerBorder |
Gets or sets the inner border, affects only Grid elements.
| |
InnerBorderColor |
Gets or sets the color of the inner border affects only Grid elements.
| |
LineHeight |
Gets or sets the height of the line.
| |
Link |
Gets or sets the link.
| |
ListCounter |
Gets or sets the list counter.
| |
ListMarker |
Gets or sets the list marker appearance.
| |
ListMarkerPadding |
Gets or sets the list marker padding.
| |
ListStyle |
Gets or sets the list style.
| |
Margin |
Gets or sets the margin around the element.
| |
Padding |
Gets or sets the padding.
| |
RowSpan |
Gets or sets the row span that this element takes. Affects element placed inside the Grid container.
| |
ScriptLevel |
Gets or sets the value used to create subscripting or superscripting effect. It defines the level of effect, zero can be used for normal scripting, positive values are for superscripting, negative for subscripting.
Affects textual elements.
| |
StructureType |
Gets or sets the type of the logical structure.
| |
Tag |
Gets or sets the tag for this element. It can be any object and can be used for any user-defined purpose.
| |
TextDecoration |
Gets or sets the text decoration.
| |
TextIndent |
Gets or sets the text indent.
| |
TextRenderingMode |
Gets or sets the text rendering mode used to draw textual elements.
By default all text is being drawn using Fill setting.
| |
VerticalAlign |
Gets or sets the vertical align.
| |
Width |
Gets or sets the width of the element.
| |
WordSpacing |
Gets or sets the word spacing.
|
Methods
Name | Description | |
---|---|---|
FromMarkup |
Creates a collection of elements using given text as markup. The markup looks similar to XML markup, given that each element will have its Class property assigned to the name or a set of names of the enclosing tags.
The resulting list will contain parsed content elements(mostly textblocks) with assigned classes.
A markup element can contain the following attributes:
|
See Also
Reference
Inheritance Hierarchy
Apitron.PDF.Kit.FlowLayoutContentElement
Apitron.PDF.Kit.FlowLayoutContainerElementT
Apitron.PDF.Kit.FlowLayout.ContentBr
Apitron.PDF.Kit.FlowLayout.ContentContentReference
Apitron.PDF.Kit.FlowLayout.Content.ControlsControlElement
Apitron.PDF.Kit.FlowLayout.ContentHr
Apitron.PDF.Kit.FlowLayout.ContentImage
Apitron.PDF.Kit.FlowLayout.ContentPageBreak
Apitron.PDF.Kit.FlowLayout.ContentPageCount
Apitron.PDF.Kit.FlowLayout.ContentTextBlock