THPDFLoadedTextAppearanceOptions Record

تصف الخط واللون والمحاذاة ومعالجة الفيض لمظاهر النص المولدة للمستند المحمل

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 toward MinFontSize; Rotation is expressed in degrees

The record parameterizes THotPDF.InsertLoadedText, FreeText rich-text editing, and the text replacement pipeline through the enclosing السجل THPDFLoadedTextReplacementOptions

InsertLoadedText