THotPDF.DAOpenFileReadOnly Method

Provides daopen file read only behaviour for the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function DAOpenFileReadOnly(const InputFileName: TFileName; const Password: AnsiString= ''): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
InputFileNameFile path used as the source or destination for this operation
PasswordPassword used for encrypted input or encrypted output workflows

Return value

Returns an Integer value

Usage notes

Related APIs