THotPDF.AddLoadedCaretAnnotationEx Method
Сводка метода: THotPDF.AddLoadedCaretAnnotationEx Method
Объявление
procedure AddLoadedCaretAnnotationEx(PageIndex: Integer; X1, Y1, X2, Y2: Single; const AContents: AnsiString; ParagraphSymbol: boolean);
Модуль
HPDFDoc
Параметры
| Имя | Назначение |
|---|---|
PageIndex | Zero-based loaded page index |
X1 | Left coordinate of the annotation rectangle in PDF points |
Y1 | Bottom coordinate of the annotation rectangle in PDF points |
X2 | Right coordinate of the annotation rectangle in PDF points |
Y2 | Top coordinate of the annotation rectangle in PDF points |
AContents | Optional annotation contents text |
ParagraphSymbol | True to write /Sy /P for a paragraph-symbol caret annotation |
Возвращаемое значение
Не возвращает значение
Примечания по использованию
- Coordinates use the loaded page PDF coordinate space
- Set ParagraphSymbol to False for a normal caret annotation without an /Sy entry
Связанные API
- THotPDF
- THPDFPage
- Содержание