THotPDF.LoadXRefStreamDocumentEncFromFile Method

Loads xref stream document enc from file input into the document import and output workflow. Use loaded objects for page copying, form inspection, validation, repair, metadata reuse, or incremental processing

Declaration

function LoadXRefStreamDocumentEncFromFile(const FileName: string; const Password: AnsiString; out RootIndex, InfoIndex, EncryptIndex, PagesIndex, RootObjNum, InfoObjNum: Integer): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
FileNameFile path used as the source or destination for this operation
PasswordPassword used for encrypted input or encrypted output workflows
RootIndexZero-based index or object index used to select an existing item
InfoIndexZero-based index or object index used to select an existing item
EncryptIndexZero-based index or object index used to select an existing item
PagesIndexZero-based index or object index used to select an existing item
RootObjNumInput used by LoadXRefStreamDocumentEncFromFile
InfoObjNumInput used by LoadXRefStreamDocumentEncFromFile

Return value

Returns an Integer value

Usage notes

Related APIs