|
THPDFPage.AddTextAnnotation
|
Κορυφή Προηγούμενο Επόμενο |
|
Adds new Text annotation on the current page.
type THPDFTextAnnotationType = ( taComment, taKey, taNote, taHelp, taNewParagraph, taParagraph, taInsert );
Delphi syntax: procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Color: TColor = clRed );
C++ syntax: void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, Graphics::TColor Color );
Περιγραφή Χρησιμοποιήστε το AddTextAnnotation για να προσθέσετε νέο Text annotation με καθορισμένο text message (Contents), rectangle area (Rectangle), icon view (Name) και color στην τρέχουσα σελίδα. Ορίστε το Open σε true για άνοιγμα του annotation ή σε false για κλείσιμο του annotation
Value Meaning taComment Comment taKey Key taNote Note taHelp Help taNewParagraph NewParagraph taParagraph Paragraph taInsert Insert
|