THotPDF.GetLoadedSourceEncryption Method

Reads the loaded source encryption information out of 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 supplied to GetLoadedSourceEncryption
ARevisionInput supplied to GetLoadedSourceEncryption
AKeyBitsInput supplied to GetLoadedSourceEncryption
AMethodInput supplied to GetLoadedSourceEncryption

Return value

Returns a boolean value

Usage notes

Related APIs