THotPDF.GetLoadedEncryptionInfo Method

Reads loaded encryption info information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output

Declaration

function GetLoadedEncryptionInfo(out AVersion: Integer; out AKeyLength: Integer; out APermissions: THPDFProtectOptions): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AVersionVersion, conformance, or nesting level used by the workflow
AKeyLengthInput used by GetLoadedEncryptionInfo
APermissionsInput used by GetLoadedEncryptionInfo

Return value

Returns a boolean value

Usage notes

Related APIs