|
THPDFPage.AddLineAnnotation
|
Inizio Precedente Successivo |
|
Aggiunge alla pagina corrente una nuova annotazione Line.
Sintassi Delphi: procedure AddLineAnnotation ( Contenuti: AnsiString; BeginPoint: THPDFCurrPoint; EndPoint: THPDFCurrPoint; Color: TColor = clRed ); THPDFCurrPoint Type DefinitionTPDFCurrPoint defines a point
Unit
HPDFDoc
type
THPDFCurrPoint = record
X: Extended;
Y: Extended;
end;
Descrizione:
The THPDFCurrPoint type defines a pixel location. X specifies the horizontal coordinate of the point, Y specifies the vertical coordinate.
Sintassi C++: void __fastcall AddLineAnnotation ( AnsiString Contenuti, THPDFCurrPoint &BeginPoint, THPDFCurrPoint &EndPoint, Graphics::TColor Color );
Descrizione Use AddLineAnnotation to add new Line annotation specified text message ( Contenuti), begin point, end point and color on the current page.
Overload with line-ending styles (HotPDF v2.119.16) procedure AddLineAnnotation ( Contenuti: AnsiString; BeginPoint, EndPoint: THPDFCurrPoint; BeginStyle, EndStyle: THPDFLineEndingStyle; Color: TColor = clRed ); Questo overload emette l'array di line ending PDF /LE [/<begin> /<end>] secondo ISO 32000-1 §12.5.6.7 Table 175 + Table 176. Il viewer renderizza quindi i segni di estremità forniti (frecce, tacche, forme) senza che il chiamante debba disegnarli sulla pagina. THPDFLineEndingStyle copre l'intero set della Table 176:
Example PDF.CurrentPage.AddLineAnnotation('Width = 120mm',
|