ComHelperOpenFile Method (String, LoadOptions)
Open an existing document from a file providing necessary converting oprions to get pdf document.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public Document OpenFile(
	string filename,
	LoadOptions options
)

Parameters

filename
Type: SystemString
Input file to convert into pdf document.
options
Type: Aspose.PdfLoadOptions
Represents properties for converting filename into pdf document.

Return Value

Type: Document
Document object
See Also