Parameters
- geometries
- Specifies the input geometries.
- distance
- The distance (in the unit of the geometry's spatial reference) to buffer the geometries.
Exception | Description |
---|---|
System.ArgumentNullException | Input geometry enumerable 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 buffer distance is zero and the input geometry is a polygon or an envelope, then a polygon is created from the input geometries.
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 created.
The spatial reference of the output geometries is the first not null or unknown spatial reference found in the list of geometries. All other geometries are projected to this spatial reference, if necessary. If no such spatial reference is found, then the unknown spatial reference is used if it is found in the list. Otherwise, the spatial reference is null.
Target Platforms: Windows 11, Windows 10