![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FeatureLayer Constructor(FeatureLayer,Filter,Buffer) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureLayer Class > FeatureLayer Constructor : FeatureLayer Constructor(FeatureLayer,Filter,Buffer) |
- fromLayer
- FeatureLayer from which to copy fields.
- filter
- New Filter of the constructed FeatureLayer.
- buffer
- New Buffer of the constructed FeatureLayer.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal fromLayer As FeatureLayer, _ ByVal filter As Filter, _ ByVal buffer As Buffer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim fromLayer As FeatureLayer Dim filter As Filter Dim buffer As Buffer Dim instance As New FeatureLayer(fromLayer, filter, buffer) |
Parameters
- fromLayer
- FeatureLayer from which to copy fields.
- filter
- New Filter of the constructed FeatureLayer.
- buffer
- New Buffer of the constructed FeatureLayer.
This method creates a new FeatureLayer with a buffer around selected features. The buffer can be either a DisplayBuffer or a SelectionBuffer. A DisplayBuffer is used to show a buffer surrounding selected features on a map image. A SelectionBuffer is used to retrieve information about features in the same layer or another layer that are within the buffer. It is not used to display the buffer.
When using a DisplayBuffer for the buffer, this method produces the same result as CreateBufferLayer. When using a SelectionBuffer, the result is the same as with CreateBufferSelectionLayer Method. See those methods for additional information and examples.
If the layer will be added to the map's layer collection, then a unique ID must be set before the map is drawn.
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