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




Gets or sets the buffer distance in BufferUnits.

Syntax

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

Example

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

Remarks

The buffer is created this distance around selected features. Be sure to set the Units so that the buffer is created correctly.

A buffer distance of 0 can be used on polygon features. If a buffer distance of 0 is used with line or point features, no data is returned.

See Also

© 2010 All Rights Reserved.