ReservedBlock

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

NameTypeAccessDescription
LayOutFunc<ReservedRoom, ReservedPart?>?Read/WriteLays the next part out in the room offered: returns the part, or null when nothing of the block fits there.
MeasureWidthsFunc<(double Min, double Max)>?Read/WriteThe 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.
PartsIReadOnlyList<ReservedPart>ReadThe 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.
HorizontalAlignmentHorizontalAlignmentRead/WriteHorizontal alignment applied to this paragraph.
VerticalAlignmentVerticalAlignmentRead/WriteVertical alignment applied to this paragraph.
MarginMarginInfoRead/WriteOuter-margin info applied to this paragraph.
IsFirstParagraphInColumnboolRead/WriteForce the paragraph to start a new column.
IsKeptWithNextboolRead/WriteKeep this paragraph on the same page as the next one.
IsInNewPageboolRead/WriteForce the paragraph to start on a new page.
IsInLineParagraphboolRead/WriteInline paragraph flag (does not start a new line).
HyperlinkTextstring?Read/WriteLegacy string-typed hyperlink target.
HyperlinkHyperlink?Read/WriteTyped hyperlink decoration applied to the paragraph.
ZIndexintRead/WriteZ-order index used by the DOM renderer.

Methods

SignatureDescription
BaseParagraph()Creates a paragraph with default alignment, an empty margin and no hyperlink.
Clone()Shallow clone — copies scalar/ref-shared state.

See Also