ComHelperOpenFile Method (String, LoadOptions) |
Open an existing document from a file providing necessary converting oprions to get pdf document.
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic Document OpenFile(
string filename,
LoadOptions options
)
Public Function OpenFile (
filename As String,
options As LoadOptions
) As Document
public:
Document^ OpenFile(
String^ filename,
LoadOptions^ options
)
member OpenFile :
filename : string *
options : LoadOptions -> Document
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:
DocumentDocument object
See Also