Parameters
- geometry
- Specifies the input geometry.
- distance
- The distance (in the unit of the geometry's spatial reference) to buffer the geometry.
Return Value
The polygon that represents the buffered area.
Exception | Description |
---|---|
System.ArgumentNullException | Geometry is null or empty. |
System.NotImplementedException | The method is not implemented for GeometryBag. |
System.ArgumentException | The buffer distance must be a valid floating point number. |
If the distance is less than or equal to zero and the input geometry is not a polygon or an envelope, then an empty polygon is returned.
Target Platforms: Windows 11, Windows 10, Windows 8.1