THPDFPage TextBox / TextOutBox / GetTextRowCount | トップへ |
|
現在のフォントと既存の HotPDF テキストメトリック関数を使用して、固定された長方形内にテキストを配置します。 Delphi 構文: procedure TextBox(Rect: TRect; Text: AnsiString; Hor: THPDFJustificationType = jtLeft; Vert: THPDFTextBoxVerticalAlignment = tbvaトップへ); function TextOutBox(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: AnsiString; Align: THPDFJustificationType = jtLeft): Integer; function GetTextRowCount(BoxWidth: Integer; Text: AnsiString): Integer;
|