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

In This Topic
    SquareKilometers Property
    In This Topic
    Gets an area unit object representing area in square kilometers (Factory Code = 109414).
    Syntax
    public static AreaUnit SquareKilometers {get;}
    Public Shared ReadOnly Property SquareKilometers As AreaUnit
    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