![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
DisplayBuffer Constructor(Double,BufferUnits,Boolean) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > DisplayBuffer Class > DisplayBuffer Constructor : DisplayBuffer Constructor(Double,BufferUnits,Boolean) |
- distance
- Distance of the buffer.
- units
- Units that the distance is in.
- project
- Value that enables projecting of the Buffer.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal distance As Double, _ ByVal units As BufferUnits, _ ByVal project As Boolean _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim distance As Double Dim units As BufferUnits Dim project As Boolean Dim instance As New DisplayBuffer(distance, units, project) |
Parameters
- distance
- Distance of the buffer.
- units
- Units that the distance is in.
- project
- Value that enables projecting of the Buffer.
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.
Generated buffers are projected if a SpatialReference is included in the map configuration file or in the request. If Project is set to false, the buffer is not projected.
Known limit: When projecting buffers and a target layer is used, a SpatialReference must be explicitly defined for the target layer, even if a SpatialReference is included in the map configuration file. Otherwise, the buffer will not project as expected.
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