THotPDF.GetLoadedSourceEncryption Method

Reads loaded source encryption 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 GetLoadedSourceEncryption(out AEncrypted: boolean; out ARevision, AKeyBits: Integer; out AMethod: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AEncryptedInput used by GetLoadedSourceEncryption
ARevisionInput used by GetLoadedSourceEncryption
AKeyBitsInput used by GetLoadedSourceEncryption
AMethodInput used by GetLoadedSourceEncryption

Return value

Returns a boolean value

Usage notes

Related APIs