Aspose::Pdf::FloatingBox class

FloatingBox class

Represents a FloatingBox in a Pdf document. FloatingBox is custom positioned.

class FloatingBox : public Aspose::Pdf::BaseParagraph

Methods

MethodDescription
Clone() overrideClones a new FloatingBox object. Paragraphs in the floating box are not cloned.
FloatingBox(float, float)Initializes a new instance of the FloatingBox class with specified width and height.
FloatingBox()Initializes a new instance of the FloatingBox class.
get_BackgroundColor() constGets a Aspose::Pdf::Color object that indicates the background color of the floating box.
get_BackgroundImage() constGets background image for page (for generator only, not filled in when reading document).
get_Border() constGets a BorderInfo object that indicates the border info of the floating box.
get_ColumnInfo() constGets a column info.
get_Height() constGets a float value that indicates the height of the floating box.
get_IsNeedRepeating() constGets 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.
get_Left() constGets the table left coordinate.
get_Padding() constGets a MarginInfo object that indicates the padding of the floating box.
get_Paragraphs() constGets a Paragraphs collection that indicates all paragraphs in the cell.
get_PositioningMode() constSpecifies variant for determining the location of the FloatingBox on the page.
get_Top() constGets the table top coordinate.
get_Width() constGets a float value that indicates the width of the floating box.
set_BackgroundColor(System::SharedPtr<Color>)Sets a Aspose::Pdf::Color object that indicates the background color of the floating box.
set_BackgroundImage(System::SharedPtr<Image>)Sets background image for page (for generator only, not filled in when reading document).
set_Border(System::SharedPtr<BorderInfo>)Sets a BorderInfo object that indicates the border info of the floating box.
set_ColumnInfo(System::SharedPtr<Aspose::Pdf::ColumnInfo>)Sets a column info.
set_Height(double)Sets a float value that indicates the height of the floating box.
set_IsNeedRepeating(bool)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.
set_Left(double)Sets the table left coordinate.
set_Padding(System::SharedPtr<MarginInfo>)Sets a MarginInfo object that indicates the padding of the floating box.
set_Paragraphs(System::SharedPtr<Aspose::Pdf::Paragraphs>)Sets a Paragraphs collection that indicates all paragraphs in the cell.
set_PositioningMode(ParagraphPositioningMode)Specifies variant for determining the location of the FloatingBox on the page.
set_Top(double)Sets the table top coordinate.
set_Width(double)Sets a float value that indicates the width of the floating box.

See Also