THotPDF.AddPDFAExtensionValueType Method
Adds a PDF/A extension value type 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 supplied to 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 catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Conformance settings can restrict encryption, transparency, JavaScript, XFA, annotations, actions, colour spaces and output intents