|
THPDFPage.AddLineAnnotation
|
Ylös Edellinen Seuraava |
|
Lisää uuden viivamerkinnän (Line) nykyiselle sivulle
Delphi syntax: procedure AddLineAnnotation ( Contents: AnsiString; BeginPoint: THPDFCurrPoint; EndPoint: THPDFCurrPoint; Color: TColor = clRed ); THPDFCurrPoint Type DefinitionTPDFCurrPoint defines a point
Unit
HPDFDoc
type
THPDFCurrPoint = record
X: Extended;
Y: Extended;
end;
Description:
The THPDFCurrPoint type defines a pixel location. X specifies the horizontal coordinate of the point, Y specifies the vertical coordinate.
C++ syntax: void __fastcall AddLineAnnotation ( AnsiString Contents, THPDFCurrPoint &BeginPoint, THPDFCurrPoint &EndPoint, Graphics::TColor Color );
Kuvaus Käytä metodia AddLineAnnotation lisätäksesi uuden Line-merkinnän määritetyllä tekstiviestillä ( Sisältö), alkupisteellä, loppupisteellä ja värillä nykyiselle sivulle
Ylikuormitus viivanpäätetyyleillä (HotPDF v2.119.16) procedure AddLineAnnotation ( Contents: AnsiString; BeginPoint, EndPoint: THPDFCurrPoint; BeginStyle, EndStyle: THPDFLineEndingStyle; Color: TColor = clRed ); Tämä ylikuormitus lähettää PDF /LE [/
Example PDF.CurrentPage.AddLineAnnotation('Width = 120mm',
|