Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features