FloatingBox

FloatingBox class

public class FloatingBox : BaseParagraph

Constructors

Name Description
FloatingBox() Initializes a new instance of the FloatingBox class.
FloatingBox(float, float) Initializes a new instance of the FloatingBox class with specified width and height.

Properties

Name Description
BackgroundColor { get; set; } Gets or sets a Color object that indicates the background color of the floating box.
BackgroundImage { get; set; } Gets or sets background image for page (for generator only).
Border { get; set; } Gets or sets a BorderInfo object that indicates the border info of the floating box.
ColumnInfo { get; set; } Gets or sets a column info
Height { get; set; } Gets or sets a float value that indicates the height of the floating box.
virtual HorizontalAlignment { get; set; } Gets or sets a horizontal alignment of paragraph
virtual Hyperlink { get; set; } Gets or sets the fragment hyperlink(for pdf generator).
IsFirstParagraphInColumn { get; set; } Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
IsInLineParagraph { get; set; } Gets or sets a paragraph is inline. Default is false.(for pdf generation)
IsInNewPage { get; set; } Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
IsKeptWithNext { get; set; } Gets 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)
IsNeedRepeating { get; set; } Gets 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.
Left { get; set; } Gets or sets the table left coordinate.
Margin { get; set; } Gets or sets a outer margin for paragraph (for pdf generation)
Padding { get; set; } Gets or sets a MarginInfo object that indicates the padding of the floating box.
Paragraphs { get; set; } Gets or sets a Paragraphs collection that indicates all paragraphs in the cell.
Top { get; set; } Gets or sets the table top coordinate.
virtual VerticalAlignment { get; set; } Gets or sets a vertical alignment of paragraph
Width { get; set; } Gets or sets a float value that indicates the width of the floating box.
ZIndex { get; set; } Gets 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.

Methods

Name Description
override Clone() Clones a new FloatingBox object. Paragraphs in the floating box are not cloned.

See Also