←Select platform

Create Method

Summary

Creates a document reader from a file name.

Syntax

C#
VB
C++
public static DocumentReader Create( 
   string fileName, 
   DocumentReaderLoadOptions options 
) 
  
Public Shared Function Create( _ 
   ByVal fileName As String, _ 
   ByVal options As Leadtools.Forms.Documentreaders.DocumentReaderLoadOptions _ 
) As Leadtools.Forms.Documentreaders.DocumentReader 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly