Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ExportZones Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : ExportZones Method



pageIndex
Specifies the index of the page from which to export the zones. This is a zero-based index.
fileName
String that contains the name of the zone file to export
pageIndex
Specifies the index of the page from which to export the zones. This is a zero-based index.
fileName
String that contains the name of the zone file to export
Exports the zone list to a zone file.

Syntax

Visual Basic (Declaration) 
Public Sub ExportZones( _
   ByVal pageIndex As Integer, _
   ByVal fileName As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim pageIndex As Integer
Dim fileName As String
 
instance.ExportZones(pageIndex, fileName)
C# 
public void ExportZones( 
   int pageIndex,
   string fileName
)
C++/CLI 
public:
void ExportZones( 
   int pageIndex,
   String^ fileName
) 

Parameters

pageIndex
Specifies the index of the page from which to export the zones. This is a zero-based index.
fileName
String that contains the name of the zone file to export

Example

Refer to ImportZones example.

Remarks

Exports the current zone list of the specified page into a zone file. This method overwrites any pre-existing zone file with the same name. The zone coordinates are saved in the zone file in 1/1200 of an inch units. To import a zone file to a specific page, call ImportZones.
For more information, refer to Working with Zones.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.