THotPDF.NewLoadedAnnotation Method

Provides new loaded annotation behaviour for the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function NewLoadedAnnotation(PageIndex: Integer; X1, Y1, X2, Y2: Single; const ASubtype: AnsiString): THPDFDictionaryObject;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index or object index used to select an existing item
X1Input used by NewLoadedAnnotation
Y1Input used by NewLoadedAnnotation
X2Input used by NewLoadedAnnotation
Y2Input used by NewLoadedAnnotation
ASubtypeInput used by NewLoadedAnnotation

Return value

Returns a THPDFDictionaryObject value

Usage notes

Related APIs