THPDFPage.AddTextAnnotation

THPDFPage

 

맨 위  이전  다음

Adds new Text annotation on the current page.

 

type

     THPDFTextAnnotationType = ( taComment, taKey, taNote, taHelp, taNewParagraph, taParagraph, taInsert );

 

Delphi 구문:

procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Color: TColor = clRed );

 

C++ 구문:

void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, Graphics::TColor Color );

 

설명

현재 page에 text message(목차), rectangle area(Rectangle), icon view(Name), color로 지정된 새 Text annotation을 추가하려면 AddTextAnnotation을 사용하십시오. Annotation을 열려면 Open 값을 true로, 닫으려면 false로 설정하십시오

 

Value                          Meaning


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview