ArcGIS Developer Help  (ArcScan)    

Vectorization Class

The Vectorization ArcMap Extension.

Vectorization is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

Available with ArcGIS Desktop. Requires ArcScan Extension.

Supported Platforms

Windows

Interfaces

Interfaces Description
IConnectedCells Provides access to members that locate connected cells.
IExtension (esriSystem) Provides access to members that define an extension.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IRasterSnappingProperties Provides access to members that control the behavior of the raster snapping environment.
IVectorization Provides access to members that control the behavior of the vectorization tools.
IVectorizationBatchProperties Provides access to members that control the behavior of the batch vectorization environment.
IVectorizationLayers Provides access to members that control information about layers to be vectorized.
IVectorizationProperties Provides access to members that control the behavior of the vectorization tools.

Event Interfaces

Interfaces Description
IVectorizationEvents (default) Provides access to vectorization events. Implement it to listen for specific events that occur during a vectorization session.

Remarks

The Vectorization object is the primary ArcScan extension object in ArcMap.

To get a reference to the vectorization extension, use IApplication::FindExtensionByCLSID or IApplication::FindExtensionByName.

When working with the ArcScan object model, remember to reference the ESRI ArcScan Extension Object Library in your development environment.

[Visual Basic 6.0]

The following VBA code examples show both methods being used to acquire a reference of type IVectorization to the Vectorization object.

Sub GetEditorExtensionByCLSID()
  Dim pVectorization as IVectorization
  Dim pID As New UID
  pID = "esriArcScan.Vectorization"
'or pID.Value = "{A212F759-F155-4BAF-A692-B9268CF9A465}" Set pVectorization = Application.FindExtensionByCLSID(pID) End Sub Sub GetEditorExtensionByName() Dim pVectorization as IVectorization Set pVectorization = Application.FindExtensionByName("ESRI ArcScan Tools") End Sub

Working with Events

When working with Vectorization's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pVectorization as Vectorization

 

Working with Events

[Visual Basic 6.0]

When working with Vectorization's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pVectorization as Vectorization

 


Feedback Send feedback on this page