ReservedBlock
Overview
ReservedBlock is a class in Aspose.PDF FOSS for .NET.
Inherits from: BaseParagraph.
A block of the flow whose content its caller lays out and paints itself: the flow reserves the room, the caller fills it.
This class declares 2 methods for ReservedBlock objects in .NET programs.
Available methods include: BaseParagraph, Clone.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: HorizontalAlignment, Hyperlink, HyperlinkText, IsFirstParagraphInColumn, IsInLineParagraph, IsInNewPage, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LayOut | Func<ReservedRoom, ReservedPart?>? | Read/Write | Lays the next part out in the room offered: returns the part, or null when nothing of the block fits there. |
MeasureWidths | Func<(double Min, double Max)>? | Read/Write | The narrowest and the widest the block can be laid out at, for a table column sized by what its cells hold; null leaves the column to the cell’s other content. |
Parts | IReadOnlyList<ReservedPart> | Read | The parts the flow placed, in order, each with the page it landed on and the rectangle it took; filled when the document’s pages are laid out. |
HorizontalAlignment | HorizontalAlignment | Read/Write | Horizontal alignment applied to this paragraph. |
VerticalAlignment | VerticalAlignment | Read/Write | Vertical alignment applied to this paragraph. |
Margin | MarginInfo | Read/Write | Outer-margin info applied to this paragraph. |
IsFirstParagraphInColumn | bool | Read/Write | Force the paragraph to start a new column. |
IsKeptWithNext | bool | Read/Write | Keep this paragraph on the same page as the next one. |
IsInNewPage | bool | Read/Write | Force the paragraph to start on a new page. |
IsInLineParagraph | bool | Read/Write | Inline paragraph flag (does not start a new line). |
HyperlinkText | string? | Read/Write | Legacy string-typed hyperlink target. |
Hyperlink | Hyperlink? | Read/Write | Typed hyperlink decoration applied to the paragraph. |
ZIndex | int | Read/Write | Z-order index used by the DOM renderer. |
Methods
| Signature | Description |
|---|---|
BaseParagraph() | Creates a paragraph with default alignment, an empty margin and no hyperlink. |
Clone() | Shallow clone — copies scalar/ref-shared state. |