THPDFLoadedAnnotationInfo Record

Read-only metadata for one annotation of a loaded page, extracted from its annotation dictionary: subtype, contents, rectangle, title, flags, appearance presence, object number and page index

Declaration

THPDFLoadedAnnotationInfo= record
  Subtype: AnsiString;
  Contents: AnsiString;
  Rect: THPDFRect;
  Title: AnsiString;
  Flags: Integer;
  HasAppearance: boolean;
  ObjectNumber: Integer;
  PageIndex: Integer;
end;

Unit

HPDFDoc

Fields

FieldPurpose
SubtypeAnnotation /Subtype name, such as Text, Link or RichMedia
ContentsAnnotation /Contents text
Rect/Rect array mapped to THPDFRect as Left, Top, Right, Bottom; zeros when the entry is absent or malformed
TitleAnnotation /T title (author) string
FlagsAnnotation /F flag integer, zero when the entry is missing
HasAppearancetrue when the annotation dictionary has an /AP entry
ObjectNumberIndirect object number of the annotation dictionary
PageIndexOwning zero-based page index, mirroring the requested page

Usage notes

Related APIs