ESRI.ArcGIS.ADF.IMS | |
Buffer Property | |
See Also |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class : Buffer Property |
Visual Basic (Declaration) | |
---|---|
Public Property Buffer As Buffer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Buffer Buffer {get; set;} |
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.