THPDFPage.AddFileAttachmentAnnotation

THPDFPage

 

Top  Previous  Next

현재 페이지에 새 FileAttachment 주석을 추가합니다

 

Delphi syntax:

procedure AddFileAttachmentAnnotation ( Contents: AnsiString; FileName: AnsiString; Rectangle: TRect; Color: TColor = clRed ); overload;

procedure AddFileAttachmentAnnotation ( const Contents: string; const FileName: TFileName; Rectangle: TRect; Color: TColor = clRed ); overload;

 

C++ syntax:

void __fastcall AddFileAttachmentAnnotation ( AnsiString Contents, AnsiString FileName, const Windows::TRect &Rectangle, Graphics::TColor Color = clRed );

void __fastcall AddFileAttachmentAnnotation ( const UnicodeString Contents, const Sysutils::TFileName FileName, const Windows::TRect &Rectangle, Graphics::TColor Color = clRed );

 

Description

AddFileAttachmentAnnotation 은 현재 페이지에파일을 FileAttachment 주석으로 넣고, 지정한 설명(Contents), 파일 경로(FileName), 외곽 사각형(Rectangle), 아이콘 색을 지정합니다. Unicode TFileName 오버로드(비 Unicode 타깃에서는WideString)는 Unicode 디렉터리와 파일 이름을 ANSI 코드 페이지 손실 없이 열고, 리프 파일 이름에 비 ASCII 문자가 있으면/UF 파일 사양 항목을 기록합니다

 

 

파일 첨부 주석 미리보기