ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / AreaUnit Class / ConvertToSquareMeters Method
Area in the units of this instance.
Example

In This Topic
    ConvertToSquareMeters Method
    In This Topic
    Converts the area to square meters.
    Syntax
    public double ConvertToSquareMeters( 
       double area
    )
    Public Function ConvertToSquareMeters( _
       ByVal area As Double _
    ) As Double

    Parameters

    area
    Area in the units of this instance.

    Return Value

    Area converted to square meters.
    Example
    AreaUnit - Convert between square feet and square meters
    // convert 700 square meters to square feet
    double sqFeet = AreaUnit.SquareFeet.ConvertFromSquareMeters(700);
    
    // convert 1100 square feet to square meters
    double sqMeters = AreaUnit.SquareFeet.ConvertToSquareMeters(1000);
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also