Provides access to members that control the behavior of the raster snapping environment.
Product Availability
Available with ArcGIS Desktop. Requires ArcScan Extension.
Description
The properties on this interface relate to the raster snapping agents in the Edtitor Snapping dialog and settings on the Raster Snapping options dialog.
Members
Description | ||
---|---|---|
Centerline | Indicates whether to snap to centerlines. | |
Corner | Indicates whether to snap to corners. | |
Ends | Indicates whether to snap to ends. | |
Intersections | Indicates whether to snap to intersections. | |
MaxSolidWidth | Maximum length of solids, measured in raster pixels. | |
MinSolidWidth | Minimum length of solids, measured in raster pixels. | |
Solid | Indicates whether to snap to solid. |
CoClasses that implement IRasterSnappingProperties
CoClasses and Classes | Description |
---|---|
Vectorization | The Vectorization ArcMap Extension. |
Remarks
Note that other properties used in raster snapping are obtained through additional interfaces. eg. MaxLineWidth from IVectorizationBatchProperties::MaxLineWidth etc
[C#]
The following code excerpt shows the method of obtaining an IRasterSnappingProperties reference and set the Centerlines state.
public void SetCenterlineState()
{
//You can get app from ICommand :: OnCreate() hook parameter
IRasterSnappingProperties rasterSnappingProp =
app.FindExtensionByName("ESRI ArcScan Tools") as IRasterSnappingProperties;
rasterSnappingProp.Centerline = true;
}