TTMSFNCPDFPageCountXPosInfo Record
Stores positional and formatting metadata for a page-count placeholder drawn in a PDF header or footer; used internally to reserve space and align the final digit string after the total page count is known.
API unit family: TMSFNCPDFCoreLibBase
Syntax
TTMSFNCPDFPageCountXPosInfo = record
struct DECLSPEC_DRECORD TTMSFNCPDFPageCountXPosInfo
Fields and properties
| Name | Type | Description |
|---|---|---|
Alignment |
Integer |
Horizontal alignment of the placeholder within its rectangle, expressed as the numeric alignment code used by the output writer. |
FontCharSpacing |
Single |
Additional spacing applied between characters of the placeholder. |
FontGlyphRefName |
string |
Name of the font resource the placeholder is drawn with, as referenced from the page resource dictionary. |
FontSize |
Single |
Size in points of the font the placeholder is drawn with. |
LineWidthNoPageCount |
Single |
Width of the line excluding the placeholder, used to reposition the text once the final page count is substituted. |
RectLeft |
Single |
Left edge of the rectangle reserved for the placeholder. |
RectRight |
Single |
Right edge of the rectangle reserved for the placeholder. |
XPosPlaceholder |
string |
The placeholder text written in place of the page count while the total is still unknown. |