ESRI.ArcGIS.ADF.IMS
Units Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > Buffer Class : Units Property




Units that the buffer distance value is in.

Syntax

Visual Basic (Declaration) 
Public Property Units As BufferUnits
Visual Basic (Usage)Copy Code
Dim instance As Buffer
Dim value As BufferUnits
 
instance.Units = value
 
value = instance.Units
C# 
public BufferUnits Units {get; set;}

Example

See FeatureLayer.CreateBufferLayer for an example of using buffer Units in a DisplayBuffer. See FeatureLayer.CreateBufferSelectionLayer for an example of using buffer Units in a SelectionBuffer.

Remarks

This specifies the map units for the buffer Distance. If not set, the Units will default to the value in MapService.Units (of the MapService from which the MapView was derived). Best practice is to always set the Units to the appropriate value.

See Also

© 2010 All Rights Reserved.