THotPDF.DAOpenFileReadOnly Method

Öppnar en direktåtkomst (Direct Access) PDF-fil i skrivskyddat läge.

Declaration

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

Unit

HPDFDoc

Parametrar

NamnSyfte
InputFileName要打开的 PDF 文件名。
Password打开加密文件时所需的密码。

Return values

Returnerar filhandtagsindex, eller ett värde mindre än 0 vid misslyckande.

Usage

See also