THotPDF.GetLoadedAnnotationInfo Method

Läs detaljerad information

Deklaration

function GetLoadedAnnotationInfo(PageIndex, AnnotationIndex: Integer; out ASubtype: AnsiString; out ARect: THPDFRect): boolean;

Enhet

HPDFDoc

Parametrar

NamnSyfte
PageIndexNollbaserad index
AnnotationIndexNollbaserat index för målkommentaren i sidans Annots-matris
ASubtype输出参数,接收注释的 Subtype 字符串,如 TextLinkWidget
ARectUtparameter, tar emot kommentarens platsrektangel på sidan (PDF-koordinatsystem)

Returvärde

若成功读取注释信息则返回 True,索引越界或注释解析失败时返回 False,且输出参数值未定义

Anmärkningar för användning

Relaterade API:er