THotPDF.EnsurePDFAColorSpaceConsistency Method
Ensures that pdf acolor space consistency support objects exist before document creation output is written. Use it when strict validators expect catalog, extension, colour, signature, or conformance dictionaries to be present
Declaration
procedure EnsurePDFAColorSpaceConsistency;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
This member does not return a value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog 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
- Register named colour resources before using them from page-level painting commands