THPDFLoadedTextAppearanceOptions Record
Describes font, colour, alignment and overflow handling for generated loaded-document text appearances
THPDFLoadedTextAppearanceOptions = record
FontName: AnsiString;
FontStyle: TFontStyles;
FontSize: Single;
TextColor: TColor;
Alignment: THPDFJustificationType;
Padding: Single;
Opacity: Single;
Rotation: Integer;
OverflowPolicy: THPDFLoadedTextOverflowPolicy;
MinFontSize: Single;
MaxTextUnits: Integer;
class function Default: THPDFLoadedTextAppearanceOptions; static;
end;
The unit is HPDFDoc; Default returns Arial 12 in black, left-aligned, with 2 points padding, full opacity, no rotation, the ltopReject overflow policy, a 4 point shrink floor and a 1048576 text-unit cap
OverflowPolicy selects whether text that does not fit rejects the call, clips or shrinks towards MinFontSize; Rotation is expressed in degrees
The record parameterises THotPDF.InsertLoadedText, FreeText rich-text editing and the text replacement pipeline through the enclosing THPDFLoadedTextReplacementOptions Record