HotPDF Delphi PDF Component Developer Guide | ![]() |
THPDFPage.AddLineAnnotation
|
Top Previous Next |
Adds new Line annotation on the current page.
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 );
Description Use AddLineAnnotation to add new Line annotation specified text message ( Contents), begin point, end point and color on the current page.
|
Copyright©2007-2025 losLab.com |