dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
AreaMeasurement2DViewModelMeasurementLabel Class
This property returns the locale specific representation of the area and perimeter.
ArcGIS Maps SDK for JavaScript
public class AreaMeasurement2DViewModelMeasurementLabel : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 AreaMeasurement2DViewModelMeasurementLabel
Constructors
AreaMeasurement2DViewModelMeasurementLabel() Constructor
Parameterless constructor for use as a Razor Component.
public AreaMeasurement2DViewModelMeasurementLabel();
AreaMeasurement2DViewModelMeasurementLabel(string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public AreaMeasurement2DViewModelMeasurementLabel(string? area=null, string? perimeter=null);
Parameters
area
System.String
The area (m²).
ArcGIS Maps SDK for JavaScript
perimeter
System.String
The perimeter (m).
ArcGIS Maps SDK for JavaScript
Properties
AreaMeasurement2DViewModelMeasurementLabel.Area Property
The area (m²).
ArcGIS Maps SDK for JavaScript
public string? Area { get; set; }
Property Value
AreaMeasurement2DViewModelMeasurementLabel.Perimeter Property
The perimeter (m).
ArcGIS Maps SDK for JavaScript
public string? Perimeter { get; set; }
Property Value
Methods
AreaMeasurement2DViewModelMeasurementLabel.GetArea() Method
Asynchronously retrieve the current value of the Area property.
public System.Threading.Tasks.Task<string?> GetArea();
Returns
System.Threading.Tasks.Task<System.String>
AreaMeasurement2DViewModelMeasurementLabel.GetPerimeter() Method
Asynchronously retrieve the current value of the Perimeter property.
public System.Threading.Tasks.Task<string?> GetPerimeter();
Returns
System.Threading.Tasks.Task<System.String>
AreaMeasurement2DViewModelMeasurementLabel.SetArea(string) Method
Asynchronously set the value of the Area property after render.
public System.Threading.Tasks.Task SetArea(string? value);
Parameters
value
System.String
The value to set.
Returns
AreaMeasurement2DViewModelMeasurementLabel.SetPerimeter(string) Method
Asynchronously set the value of the Perimeter property after render.
public System.Threading.Tasks.Task SetPerimeter(string? value);
Parameters
value
System.String
The value to set.