FloatingBox
Overview
FloatingBox is a class in Aspose.PDF FOSS for C++.
FloatingBox.Width() returns the current width of the box as a double, and FloatingBox.Width(value) sets a new width.
This class declares 12 methods for FloatingBox objects in C++ programs.
Available methods include: BackgroundColor, Border, Height, IsNeedRepeating, Paragraphs, Width.
Public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
Width() → double | Returns the current width of the box as a double, and FloatingBox.Width(value) sets a new width |
Width(value: double) | Calls Width(value) on this FloatingBox instance. |
Height() → double | Returns the current height of the box, and FloatingBox.Height(value) updates the height |
Height(value: double) | Calls Height(value) on this FloatingBox instance. |
IsNeedRepeating() → bool | Returns true if need repeating is set. |
IsNeedRepeating(value: bool) | Indicates whether the box should be repeated on subsequent pages, and the setter toggles this behaviour |
Paragraphs() → Aspose::Pdf::Paragraphs | Provides access to the collection of Paragraph objects that will be rendered inside the box |
Paragraphs(value: Aspose::Pdf::Paragraphs) | Calls Paragraphs(value) on this FloatingBox instance. |
Border() → Aspose::Pdf::BorderInfo | Calls Border on this FloatingBox instance. |
Border(value: Aspose::Pdf::BorderInfo) | Calls Border(value) on this FloatingBox instance. |
BackgroundColor() → Aspose::Pdf::Color | Calls BackgroundColor on this FloatingBox instance. |
BackgroundColor(value: Aspose::Pdf::Color) | Calls BackgroundColor(value) on this FloatingBox instance. |