|
THPDFPage.AddTextAnnotation
|
Viršus Ankstesnis Kitas |
|
Prideda naują Text anotaciją dabartiniame puslapyje
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 );
Aprašas Naudokite AddTextAnnotation, kad dabartiniame puslapyje pridėtumėte naują Text anotaciją su nurodytu teksto pranešimu (Contents), stačiakampio sritimi (Rectangle), piktogramos vaizdu (Name) ir spalva. Nustatykite Open reikšmę į true, kad anotacija būtų atidaryta, arba į false, kad ji būtų uždaryta
Value Meaning taComment Comment taKey Key taNote Note taHelp Help taNewParagraph NewParagraph taParagraph Paragraph taInsert Insert
|