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




Gets or sets the Buffer.

Syntax

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

Remarks

When a Buffer is present in a feature layer, the layer itself is not actually drawn. Instead, either buffer graphics are drawn, or features in a "target" layer are selected. If the Buffer is a DisplayBuffer, then buffer graphics around features selected with the Filter are drawn. If the Buffer is a SelectionBuffer, then features in the TargetLayer of the SelectionBuffer are drawn, based on the buffer distance from selected features in the current featurelayer.

Usually it will be easier and more reliable to create a buffer with the CreateBufferLayer method or CreateBufferSelectionLayer method. When a buffer layer is created with CreateBufferLayer, the Buffer is a DisplayBuffer. When using CreateBufferSelectionLayer, the Buffer is a SelectionBuffer.

See Also

© 2010 All Rights Reserved.