This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IB > IBufferConstructionProperties Interface > IBufferConstructionProperties.Unit Property (ArcObjects .NET 10.5 SDK) |
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 [out, retval]
ppUnit is a parameter of type IUnit ppUnit
ppUnit is a parameter of type IUnit
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.