- pageIndex
- Index of the page on which to add the zone. This is a zero-based index.
- zoneIndex
- Position in the list of zones at which to add the new zone. Use -1 to append the page to the end of the list. This is a zero-based index.
- zoneData
- RasterDocumentZoneData class that contains the zone data to be added.
Visual Basic (Declaration) | |
---|---|
Public Sub AddZone( _ ByVal pageIndex As Integer, _ ByVal zoneIndex As Integer, _ ByVal zoneData As RasterDocumentZoneData _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- pageIndex
- Index of the page on which to add the zone. This is a zero-based index.
- zoneIndex
- Position in the list of zones at which to add the new zone. Use -1 to append the page to the end of the list. This is a zero-based index.
- zoneData
- RasterDocumentZoneData class that contains the zone data to be added.
Visual Basic | Copy Code |
---|---|
Public Sub AddZoneExample() |
C# | Copy Code |
---|---|
public void AddZoneExample() |
Adds a new zone to the zone list of the specified page. After the zone is added, the zone list is
recalculated automatically.
When adding a zone, the application should directly initialize the following properties of the
RasterDocumentZoneData class, since these members will not take their
default values:
For more information, refer to Working with Zones.
- RasterDocumentZoneData.Rectangle property
- RasterDocumentZoneData.FillMethod property
- RasterDocumentZoneData.CharacterFilter property
- RasterDocumentZoneData.Type property
- RasterDocumentZoneData.RecognizeModule property
For more information, refer to Working with Zones.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family