THotPDF.AddPDFAExtensionValueType Method
Adds pdf aextension value type data to the document creation workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
function AddPDFAExtensionValueType(SchemaIndex: Integer; const ATypeName, ANamespaceURI, APrefix, ADescription: AnsiString): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SchemaIndex | Zero-based index or object index used to select an existing item |
ATypeName | PDF resource name, packet name, profile name, or caller-defined identifier |
ANamespaceURI | External target address stored in the PDF action or link annotation |
APrefix | Input used by AddPDFAExtensionValueType |
ADescription | Human-readable text stored in the PDF object, action, annotation, or structure element |
Return value
Returns an Integer value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Conformance settings can restrict encryption, transparency, JavaScript, XFA, annotations, actions, color spaces, and output intents