LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)
LEAD Technologies, Inc

Create Method






The name of the document file. Must not be null.
Optional document loading options. If this parameter is null, then default options are used.
Creates a document reader from a file name.
Syntax
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
)
 function Leadtools.Forms.DocumentReaders.DocumentReader.Create( 
   fileName ,
   options 
)
public:
static DocumentReader^ Create( 
   String^ fileName,
   DocumentReaderLoadOptions^ options
) 

Parameters

fileName
The name of the document file. Must not be null.
options
Optional document loading options. If this parameter is null, then default options are used.

Return Value

An instance of DocumentReader ready to use.
Remarks

If the document in fileName cannot be loaded with any LEADTOOLS Document Readers, an exception will be thrown.

Example

For an example, refer to DocumentReader and DocumentReaderLoadOptions.

Requirements

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

See Also

Reference

DocumentReader Class
DocumentReader Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features