AddNoteAnnotation
주석 및 핫스폿 링크
설명
선택한 페이지에 노트 주석을 추가합니다 색상 매개변수 값의 범위는 0에서 1이며 0은 색상 0%, 1은 색상 100%를 나타냅니다
이 작성기는 연결된 /Popup 주석과 PDF 1.3 주석 플래그를 만들므로 PDF 1.2 문서는 저장 전에 자동으로 PDF 1.3으로 승격됩니다
구문
Delphi
Function TPDFlib.AddNoteAnnotation(Left, Top: Double; AnnotType: Integer; PopupLeft, PopupTop, PopupWidth, PopupHeight: Double; Const Title, Contents: WideString; Red, Green, Blue: Double; Open: Integer): Integer;
ActiveX
Function PDFlib::AddNoteAnnotation(Left As Double, Top As Double, AnnotType As Long, PopupLeft As Double, PopupTop As Double, PopupWidth As Double, PopupHeight As Double, Title As String, Contents As String, Red As Double, Green As Double, Blue As Double, Open As Long) As Long
DLL
int DLAddNoteAnnotation(int InstanceID, double Left, double Top, int AnnotType, double PopupLeft, double PopupTop, double PopupWidth, double PopupHeight, const wchar_t * Title, const wchar_t * Contents, double Red, double Green, double Blue, int Open);
매개변수
주석 앵커의 가로 좌표
Left
주석 앵커의 수직 좌표
Top
주석 형식:
0 = 메모
1 = 주석
2 = 도움말
3 = 삽입
4 = 키
5 = 새 단락
6 = 문단
팝업 주석'의 제목에 표시되는 날짜를 숨기려면 위 값에 100을 더합니다
AnnotType
PopupLeft
팝업 창 왼쪽 가장자리의 가로 좌표
PopupTop
팝업 창 왼쪽 가장자리의 세로 좌표
PopupWidth
팝업 창의 너비
PopupHeight
팝업 창의 높이
Title
주석의 제목
Contents
팝업 주석의 본문
Red
주석 색상의 red 구성 요소
Green
주석 색상의 녹색 성분
Blue
주석 색상의 파란색 구성 요소
Open
문서를 열 때 주석을 표시할지 지정합니다:
0 = 숨기기
1 = 표시
double PopupWidth, double PopupHeight, wchar_t * Title, wchar_t * Contents, double Red, double Green, double Blue, int Open);