|
THPDFPage.AddLineAnnotation
|
Oben Zurück Weiter |
|
Fügt eine neue Linien-Anmerkung (Line) auf der aktuellen Seite hinzu
Delphi-Syntax: procedure AddLineAnnotation ( Inhalt: AnsiString; BeginPoint: THPDFCurrPoint; EndPoint: THPDFCurrPoint; Color: TColor = clRed ); THPDFCurrPoint Type DefinitionTPDFCurrPoint defines a point
Unit
HPDFDoc
type
THPDFCurrPoint = record
X: Extended;
Y: Extended;
end;
Beschreibung:
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 Inhalt, THPDFCurrPoint &BeginPoint, THPDFCurrPoint &EndPoint, Graphics::TColor Color );
Beschreibung Use AddLineAnnotation to add new Line annotation specified text message ( Inhalt), begin point, end point and color on the current page.
Overload with line-ending styles (HotPDF v2.119.16) procedure AddLineAnnotation ( Inhalt: AnsiString; BeginPoint, EndPoint: THPDFCurrPoint; BeginStyle, EndStyle: THPDFLineEndingStyle; Color: TColor = clRed ); Diese Überladung schreibt das PDF-Array /LE [/<begin> /<end>] für die Linienenden gemäß ISO 32000-1 §12.5.6.7 Table 175 + Table 176. Der Viewer stellt dann die angegebenen Endmarkierungen (Pfeile, Striche, Formen) dar, ohne dass der Aufrufer sie selbst auf die Seite zeichnen muss. THPDFLineEndingStyle deckt den vollständigen Satz aus Table 176 ab:
Example PDF.CurrentPage.AddLineAnnotation('Width = 120mm',
|