Table of Contents

TTMSFNCPDFGraphicsLibBase Class

Abstract base class for PDF graphics contexts that provides font, fill, stroke, alignment, line-break, and bitmap-container state shared by all platform-specific PDF rendering implementations.

API unit family: TMSFNCPDFCoreLibBase Inherits from: TInterfacedObject

Syntax

TTMSFNCPDFGraphicsLibBase = class(TInterfacedObject)

Properties

Name Description
Alignment Horizontal text alignment applied when drawing text into a rectangle. Defaults to gtaLeading.
BitmapContainer Optional bitmap container used to resolve named bitmaps when drawing images referenced by name.
Fill Fill style applied to drawn shapes.
Font Font used for regular text drawing.
LineBreakMode Controls how text that overflows its bounding rectangle is wrapped or truncated. Defaults to word wrapping.
LineHeightFactor Multiplier applied to the font height to produce the line height; defaults to the platform default (typically 1.4).
Stroke Stroke style applied to drawn shapes and text outlines.
URLFont Font used for hyperlink text, typically underlined and colored differently from body text.