ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / LinearUnit Class / Millimeters Property
Example

In This Topic
    Millimeters Property
    In This Topic
    Gets a linear unit representing millimeters (Factory code = 109007).
    Syntax
    public static LinearUnit Millimeters {get;}
    Public Shared ReadOnly Property Millimeters As LinearUnit
    Example
    LinearUnit - Convert between centimeters and millimeters
    // convert 11 centimeters to millimeters
    double mm = LinearUnit.Centimeters.ConvertTo(11, LinearUnit.Millimeters);
    
    // convert the result back to centimeters
    double cm = LinearUnit.Millimeters.ConvertTo(mm, LinearUnit.Centimeters);
    
    // convert the millimeter result back to meters
    double meters = LinearUnit.Millimeters.ConvertToMeters(mm);
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also