PrApi: LoadDocument

LoadDocument

Loads a document from the mass storage device.

 Public Function LoadDocument(
	  ByVal filename As String ) As Long

Parameters

filename
Name of the file to load the document from.

Return Values

A document reference.

Languages

[Visual Basic] Public Function LoadDocument(ByVal filename As String) As Long

[Delphi] function LoadDocument(filename: WideString): Integer;

[C++] long LoadDocument(BSTR filename);

Remarks

The returned document reference can be feed to the PrDoc ActiveX control.

See Also

Class PrApi Overview PrApi Properties PrApi Methods LoadCVCertFile LoadPrivKeyFile