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, color, 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 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
- Register named color resources before using them from page-level painting commands