THotPDF.GetLoadedAnnotationDA Method
메서드 요약: THotPDF.GetLoadedAnnotationDA Method
선언
function GetLoadedAnnotationDA(PageIndex, AnnotationIndex: Integer; out AFontName: AnsiString; out AFontSize: Single; out ARed, AGreen, ABlue: Single): boolean;
유닛
HPDFDoc
매개 변수
| 이름 | 목적 |
|---|---|
PageIndex | Zero-based loaded page index |
AnnotationIndex | Zero-based annotation index on the selected page |
AFontName | Receives the font resource name parsed from the default appearance string |
AFontSize | Receives the font size parsed from the Tf operator |
ARed | Receives the red fill-colour component parsed from the rg operator |
AGreen | Receives the green fill-colour component parsed from the rg operator |
ABlue | Receives the blue fill-colour component parsed from the rg operator |
반환 값
Returns True when the annotation contains a string default appearance entry
사용 참고
- Parsing is best-effort and recognises the font Tf operator and RGB fill-colour rg operator
- Output values are reset before lookup and remain zero or empty when individual operators are absent
관련 API
- THotPDF
- THPDFPage
- 목차