THotPDF.LoadXRefStreamDocumentFromFile Method

Loads xref stream document 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 LoadXRefStreamDocumentFromFile(const FileName: string; out RootIndex, InfoIndex, EncryptIndex, PagesIndex, RootObjNum, InfoObjNum: Integer): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
FileNameFile path used as the source or destination for this operation
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 LoadXRefStreamDocumentFromFile
InfoObjNumInput used by LoadXRefStreamDocumentFromFile

Return value

Returns an Integer value

Usage notes

Related APIs