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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2