FloatingBox

FloatingBox class

The FloatingBox type exposes the following members:

Constructors

NameDescription
FloatingBox(width, height)Initializes a new instance of the FloatingBox class
FloatingBox()Initializes a new instance of the FloatingBox class.

Properties

NameDescription
vertical_alignmentGets or sets a vertical alignment of paragraph
horizontal_alignmentGets or sets a horizontal alignment of paragraph
marginGets or sets a outer margin for paragraph (for pdf generation)
is_first_paragraph_in_columnGets or sets a bool value that indicates whether this paragraph will be at next column.
Default is false.(for pdf generation)
is_kept_with_nextGets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph.
Default is false.(for pdf generation)
is_in_new_pageGets or sets a bool value that force this paragraph generates at new page.
Default is false.(for pdf generation)
is_in_line_paragraphGets or sets a paragraph is inline.
Default is false.(for pdf generation)
hyperlinkGets or sets the fragment hyperlink(for pdf generator).
z_indexGets or sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex
will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative
ZIndex will be placed behind the text in the page.
column_infoGets or sets a column info
widthGets or sets a float value that indicates the width of the floating box.
heightGets or sets a float value that indicates the height of the floating box.
is_need_repeatingGets or sets a bool value that indicates whether the paragraph need to be repeated on next page.
Default value is false.The attribute is only valid when the paragraph itself and the object its ReferenceParagraphID referred to both are included in RepeatingRows.
paragraphsGets or sets a paragraphs collection that indicates all paragraphs in the cell.
borderGets or sets a BorderInfo object that indicates the border info of the floating box.
background_colorGets or sets a Color object that indicates the background color of the floating box.
background_imageGets or sets background image for page (for generator only, not filled in when reading document).
paddingGets or sets a MarginInfo object that indicates the padding of the floating box.
leftGets or sets the table left coordinate.
topGets or sets the table top coordinate.

Methods

NameDescription
clone()Clones a new FloatingBox object. Paragraphs in the floating box are not cloned.

See Also