THPDFPage TextBox / TextOutBox / GetTextRowCount | 맨 위 |
|
현재 font와 기존 HotPDF text metric function을 사용해 fixed rectangle 안에 text를 배치합니다 Delphi 구문: procedure TextBox(Rect: TRect; Text: AnsiString; Hor: THPDFJustificationType = jtLeft; Vert: THPDFTextBoxVerticalAlignment = tbvaTop); function TextOutBox(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: AnsiString; Align: THPDFJustificationType = jtLeft): Integer; function GetTextRowCount(BoxWidth: Integer; Text: AnsiString): Integer;
|