TPDFFeatureSet Record
PDF version capability flags that steer object streams, compression, transparency, AES, metadata and optional content
Declaration
TPDFFeatureSet= record
SupportsObjectStreams: boolean;
SupportsCompression: boolean;
SupportsTransparency: boolean;
SupportsAESEncryption: boolean;
SupportsMetadataStreams: boolean;
SupportsStructuredContent: boolean;
SupportsOptionalContent: boolean;
end;
Unit
HPDFDoc
Fields
| Field | Purpose |
|---|---|
SupportsObjectStreams | True for PDF 1.5 and later, enabling stream-based objects; it gates stream-based object writing |
SupportsCompression | True where the target version permits cross-reference and content compression |
SupportsTransparency | True where transparency groups and alpha blending are available |
SupportsAESEncryption | True where AES encryption handlers may be used for the version |
SupportsMetadataStreams | True where XMP metadata streams are supported |
SupportsStructuredContent | True where tagged, structured content is available for the version |
SupportsOptionalContent | True where optional content groups, i.e. layers, are supported |
Usage notes
- Read it from
TPDFVersionManager.GetFeatures; the manager derives the flags from the PDF version and document mode that were selected SupportsObjectStreamsdirectly governs stream-based object writing, so legacy targets keep their classic cross-reference tables- The same flags sit behind the per-feature
Supports*helpers onTPDFVersionManager, so callers can query one capability without copying the record