ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / LinearUnit Class / Feet Property
Example

In This Topic
    Feet Property
    In This Topic
    Gets a linear unit representing feet (Factory code = 9002).
    Syntax
    public static LinearUnit Feet {get;}
    Public Shared ReadOnly Property Feet As LinearUnit
    Example
    LinearUnit - Convert between feet and meters
    // convert 10 feet to meters
    double metres = LinearUnit.Feet.ConvertToMeters(10);
    
    // convert 20 meters to feet
    double feet = LinearUnit.Feet.ConvertFromMeters(20.0);
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also