Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

SaveZones(String) Method








The name of the file that will contain the zones data.
Saves zones to a multi-page zones disk file.
Syntax
void SaveZones( 
   string fileName
)
'Declaration
 
Overloads Sub SaveZones( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As IOcrDocument
Dim fileName As String
 
instance.SaveZones(fileName)
void SaveZones( 
   string fileName
)
function Leadtools.Forms.Ocr.IOcrDocument.SaveZones(String)( 
   fileName 
)
void SaveZones( 
   String^ fileName
) 

Parameters

fileName
The name of the file that will contain the zones data.
Remarks

To save and load the zones of OCR pages, you can use one of these methods:

Note on loading zones from a multi-page zone file: If the file does not contain zones data with the correct page number, the engine will not load any zones for this page. After the method returns, any OCR page that did not have zones data will contain zero zones. (the IOcrPage.Zones property contains 0 items). You can then use IOcrPage.AutoZone if required to re-zone this page.

Use IOcrDocument.LoadZones(fileName) or IOcrPage.LoadZones(fileName, pageNumber) to load all or one page zones saved by this method.

To load and save the zones to a .NET stream, use IOcrDocument.SaveZones(stream), IOcrDocument.LoadZones(stream) and IOcrPage.LoadZones(stream, pageNumber).

Example
For an example, refer to IOcrDocument.SaveZones(fileName).
Requirements

Target Platforms

See Also

Reference

IOcrDocument Interface
IOcrDocument Members
Overload List
IOcrPage.LoadZones(fileName)
IOcrPage.LoadZones(fileName, pageNumber)
IOcrDocument.LoadZones(fileName)
IOcrPage.LoadZones(Stream)
IOcrPage.LoadZones(Stream, pageNumber)
IOcrDocument.LoadZones(Stream)
IOcrPage.SaveZones(fileName)
IOcrPage.SaveZones(stream)
IOcrPage.SaveZones(fileName, pageNumber)
IOcrPage.SaveZones(stream, pageNumber)
IOcrDocument.SaveZones(Stream)
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
IOcrPage.Recognize
Programming with the LEADTOOLS .NET OCR

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features