|
THPDFPage.AddLineAnnotation
|
Viršus Ankstesnis Kitas |
|
Prideda naują Line anotaciją dabartiniame puslapyje
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 );
Aprašas Naudokite AddLineAnnotation, kad dabartiniame puslapyje pridėtumėte naują Line anotaciją su nurodytu teksto pranešimu ( Contents), pradžios tašku, pabaigos tašku ir spalva
Overload with line-ending styles (HotPDF v2.119.16) procedure AddLineAnnotation ( Contents: AnsiString; BeginPoint, EndPoint: THPDFCurrPoint; BeginStyle, EndStyle: THPDFLineEndingStyle; Color: TColor = clRed ); Šis overload'as išveda PDF /LE [/<begin> /<end>] linijos pabaigos masyvą pagal ISO 32000-1 §12.5.6.7 Table 175 + Table 176. Tada žiūryklė atvaizduoja pateiktus galinių taškų ženklus (rodykles, brūkšnelius, formas), kad kviestinei pusei nereikėtų jų piešti puslapyje. THPDFLineEndingStyle apima visą Table 176 rinkinį:
Example PDF.CurrentPage.AddLineAnnotation('Width = 120mm',
|