ESRI.ArcGIS.ADF.IMS
Units Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.