This document is archived and information here might be outdated.  Recommended version.


IBufferConstructionProperties.Unit Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IBufferConstructionProperties.Unit Property

The unit of measure used for the buffering distance and densification deviation distance (optional, default units are obtained from spatial reference of input geometries).

[Visual Basic .NET]
Public Property Unit As IUnit
[C#]
public IUnit Unit {get; set;}
[C++]
HRESULT get_Unit(
  IUnit* ppUnit
);
[C++]
HRESULT putref_Unit(
  IUnit** ppUnit
);
[C++]

Parameters ppUnit
ppUnit is a parameter of type IUnit* ppUnit [out, retval]
ppUnit is a parameter of type IUnit**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

You can specify the buffer distance in a distance unit different than that of the spatial reference of the input geometries. The unit must be of the same type (angular or linear) as that of the input geometries' spatial reference.

See the geometry library overview for an example of using the units property to generate geodesic buffers around points.

See Also

IBufferConstructionProperties Interface