ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / AreaUnit Class / SquareMetersPerUnit Property
Example

In This Topic
    SquareMetersPerUnit Property
    In This Topic
    Gets the square meters per unit.
    Syntax
    public double SquareMetersPerUnit {get;}
    Public ReadOnly Property SquareMetersPerUnit As Double
    Example
    AreaUnit - How many Square meters in various units
    double sqMetersPerUnit = AreaUnit.Acres.SquareMetersPerUnit;
    sqMetersPerUnit = AreaUnit.Ares.SquareMetersPerUnit;
    sqMetersPerUnit = AreaUnit.Hectares.SquareMetersPerUnit;
    sqMetersPerUnit = AreaUnit.SquareKilometers.SquareMetersPerUnit;
    sqMetersPerUnit = AreaUnit.SquareMiles.SquareMetersPerUnit;
    sqMetersPerUnit = AreaUnit.SquareYards.SquareMetersPerUnit;
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also