|
THPDFPage.AddLineAnnotation
|
Üst Önceki Sonraki |
|
Geçerli sayfaya yeni bir Line annotation ekler
Delphi sözdizimi: procedure AddLineAnnotation ( Contents: AnsiString; BeginPoint: THPDFCurrPoint; EndPoint: THPDFCurrPoint; Color: TColor = clRed ); THPDFCurrPoint Tür TanımıTPDFCurrPoint 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++ sözdizimi: void __fastcall AddLineAnnotation ( AnsiString Contents, THPDFCurrPoint &BeginPoint, THPDFCurrPoint &EndPoint, Graphics::TColor Color );
Açıklama Use AddLineAnnotation to add new Line annotation specified text message ( Contents), begin point, end point and color on the current page.
Overload with line-ending styles (HotPDF v2.119.16) procedure AddLineAnnotation ( Contents: AnsiString; BeginPoint, EndPoint: THPDFCurrPoint; BeginStyle, EndStyle: THPDFLineEndingStyle; Color: TColor = clRed ); Bu overload, ISO 32000-1 §12.5.6.7 Tablo 175 + Tablo 176'ya göre PDF /LE [/<begin> /<end>] satır ucu dizisini yazar. Görüntüleyici, çağıranın bunları sayfaya çizmek zorunda kalmaması için sağlanan uç işaretlerini (oklar, çizgiler, şekiller) çizer. THPDFLineEndingStyle, Tablo 176 kümesinin tamamını kapsar:
Örnek PDF.CurrentPage.AddLineAnnotation('Width = 120mm',
|