THotPDF Advanced Published Properties

This page collects newer or workflow-specific THotPDF published properties that do not have a separate topic page. They are part of the component surface and can be assigned from Delphi, C++Builder, or the Object Inspector when applicable

Encryption and Version Control

Property Type Default Description
UseAES256R6 Boolean false Selects the PDF 2.0 R=6 AES-256 security-handler algorithm when CryptKeyLength is aes256. Leave it off for the broader Acrobat 9+ R=5 compatibility path; turn it on for workflows that require the R=6 algorithm
StrictVersionLock Boolean false Controls feature version gating. With the default value, HotPDF can raise Version automatically when a feature needs a newer PDF version. When set to true, feature methods that would require a newer PDF version refuse to emit instead of promoting the file

Metadata, Tagged PDF, and Standards

Property Type Default Description
EnableXMPMetadata Boolean false Writes a PDF 1.4+ XMP /Metadata stream during EndDoc. The generated packet is built from the document information fields unless CustomXMP supplies a caller-authored packet
CustomXMP AnsiString empty Provides a verbatim XMP packet for the Catalog metadata stream. Use it only when EnableXMPMetadata is enabled or when a conformance property enables XMP output automatically
Lang AnsiString empty Sets the Catalog /Lang natural-language tag, such as en-US, de, or zh-CN. It is also used by PDF/UA and tagged-PDF workflows
EnableTaggedPDF Boolean false Enables the tagged-PDF wrapper entries, including /MarkInfo and /StructTreeRoot. Actual semantic content still comes from structure-element and marked-content calls such as AddStructureElement and page marked-content helpers
PDFUACompliance Boolean false Turns on HotPDF's high-level PDF/UA-1 producer-side defaults, including tagged PDF, XMP metadata, a document language default, and display-title viewer preference handling
PDFACompliance AnsiString empty Selects PDF/A conformance handling. Supported values include A, B, 2A, 2B, 2U, 3A, 3B, and 3U. Empty disables PDF/A enforcement
PDFXCompliance AnsiString empty Selects PDF/X prepress handling. Supported values are X-1a, X-3, and X-4. The property enables matching metadata, version requirements, encryption restrictions, and Trapped validation
Trapped AnsiString empty Writes the PDF/X DocInfo trapped state. Use True, False, or Unknown when PDFXCompliance is enabled

Compression and Copy Handling

Property Type Default Description
CompressionLevel TPDFCompressionLevel clDefault Selects the zlib-backed Flate compression level used by enhanced compression paths. Valid values are clNone, clFastest, clDefault, and clMaximum
EnableStructuredContent Boolean true Controls whether the version-manager enhanced mode keeps structured-content support enabled for the current PDF version. Older document modes can turn it off automatically
EnableTransparency Boolean true Controls whether transparency-capable output paths stay enabled for the current document mode and PDF version
EnableOptionalContent Boolean false Controls optional-content support for PDF 1.5+ workflows. Version switching can update it through the document feature manager
DecompressForCopy Boolean true When copying from loaded documents, allows HotPDF to decompress source object streams as needed so page-copy and extraction operations can materialize reusable objects
OriginallyCompressed Boolean false Read-only flag set by the loader when source content was originally compressed and had to be decompressed for copy or analysis
CodecIsolationMode THPDFCodecIsolationMode cimAutomatic Selects compatible automatic, fail-closed required, or disabled process isolation for loaded DCTDecode, JPXDecode, and JBIG2Decode images
CodecWorkerExecutable TFileName empty Overrides the codec worker path; empty resolves HotPDFCodecWorker.exe beside the host application
CodecWorkerTimeoutMilliseconds Cardinal 10000 Bounds one worker request from 1 through 600,000 milliseconds
CodecWorkerMemoryLimitBytes Int64 536870912 Applies the Job Object process-memory ceiling; zero disables the ceiling and nonzero values must be at least 64 MiB
PeakMemorySchedulerEnabled Boolean true Controls peak-memory admission for high-footprint operations started by this component
PeakMemorySchedulerBudgetBytes Int64 536870912 Configures the shared process-wide estimated working-memory budget; zero disables budget limiting

See Crash-Isolated Codec Workers for deployment, failure, and telemetry details

See Peak Memory Scheduling for admission, cancellation, and statistics details

Document Information

Property Type Default Description
Information Boolean true Controls whether HotPDF writes the document information dictionary during save. Page extraction and split workflows turn it off on generated output documents when they need a content-only copy

PDF/A Default Color Spaces

RegisterDefaultColorSpace - Maps DefaultGray, DefaultRGB, or DefaultCMYK to an ICCBased color space registered by RegisterICCProfile, so Device color use can be made explicit before PDF/A color checks

UsedDeviceGray, UsedDeviceRGB, UsedDeviceCMYK - Read-only flags showing whether DeviceGray, DeviceRGB, or DeviceCMYK content was used while building the document

Text shaping and compact font output

ShapingFeatures documents the current GSUB/GPOS shaping flags, including typographic feature flags, figure-style flags, complex-script preprocess flags, sfKerning, sfMarkPositioning, sfTibetanShaping, sfMongolianShaping, and sfIndicGSUB

SimpleLatinFonts documents the compact Base14 / WinAnsi path for printable ASCII text

script shaping preprocess methods covers AutoShapeNko, AutoShapeAdlam, AutoShapeHanifiRohingya, and the Thai/Lao, Hebrew, Javanese, Tai Viet, Meetei Mayek, Khmer, and Myanmar preprocess flags; the GPOS page now covers contextual and vertical kerning plus mark-to-ligature placement

Runtime State

AutoShapeArabic enables producer-side Arabic shaping before text output. IsHaveSimpleText and IsEncrypted expose simple-text and encryption state for the current or loaded document

Prepress and Graphics-State Helpers

RegisterSoftMaskState, RegisterTransferFunctionState, RegisterHalftoneType1, RegisterHalftoneState, and RegisterPrintControlState register specialised ExtGState or halftone resources for transparency, transfer-function, screening, overprint, stroke-adjustment, rendering-intent, and flatness workflows

OutputIntent Helpers

AddPDFAOutputIntent and AddPDFXOutputIntent wrap ICC profile registration plus Catalog /OutputIntents creation for PDF/A and PDF/X production. Use them before EndDoc whenever the corresponding compliance property is enabled

Type 3 Font Glyphs

RegisterType3Font creates a caller-defined Type 3 font resource and AddType3Glyph adds the individual glyph content streams. Select the resource on a page with THPDFPage.SetType3Font before writing text

PDF/A Convenience and Associated Files

PDFAConformanceLevel, IsPDFA1Strict, and IsPDFA2OrLater expose the active PDF/A part and conformance branch for caller logic. EnsurePDFAImplementationLimits checks PDF/A-2 and PDF/A-3 implementation limits for metadata strings, /Lang, and page boxes before EndDoc. AddPDFA3AssociatedFile attaches PDF/A-3 Annex E associated files with /AFRelationship; AddFacturXAssociatedFile adds the Factur-X invoice XML, EmbeddedFiles name-tree entry, and XMP metadata for PDF/A-3 invoice workflows; FacturXWarnings reports non-fatal supporting-attachment warnings for those workflows; AddXAdESAssociatedFile embeds caller-generated XAdES XML as an associated file for XAdES-in-PDF workflows

See Also