![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Buffer Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class : Buffer Property |
Visual Basic (Declaration) | |
---|---|
Public Property Buffer As Buffer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As FeatureLayer Dim value As Buffer instance.Buffer = value value = instance.Buffer |
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.
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