Leadtools.Forms.DocumentReaders Namespace > DocumentReader Class : Create Method |
public static DocumentReader Create( string fileName, DocumentReaderLoadOptions options )
'Declaration Public Shared Function Create( _ ByVal fileName As String, _ ByVal options As DocumentReaderLoadOptions _ ) As DocumentReader
'Usage Dim fileName As String Dim options As DocumentReaderLoadOptions Dim value As DocumentReader value = DocumentReader.Create(fileName, options)
public: static DocumentReader^ Create( String^ fileName, DocumentReaderLoadOptions^ options )
If the document in fileName cannot be loaded with any LEADTOOLS Document Readers, an exception will be thrown.
For an example, refer to DocumentReader and DocumentReaderLoadOptions.