THPDFPage.AddLineAnnotation

THPDFPage

 

ด้านบน  ก่อนหน้า  ถัดไป

เพิ่มคำอธิบายประกอบ Line ใหม่ในหน้าปัจจุบัน

 

Delphi syntax:

procedure AddLineAnnotation ( Contents: AnsiString; BeginPoint: THPDFCurrPoint; EndPoint: THPDFCurrPoint; Color: TColor = clRed );

THPDFCurrPoint Type Definition

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++ syntax:

void __fastcall AddLineAnnotation ( AnsiString Contents, THPDFCurrPoint &BeginPoint, THPDFCurrPoint &EndPoint, Graphics::TColor Color );

 

คำอธิบาย

ใช้ AddLineAnnotation เพื่อเพิ่มคำอธิบายประกอบ Line ใหม่ที่ระบุข้อความ (Contents), จุดเริ่มต้น, จุดสิ้นสุด และสีในหน้าปัจจุบัน