GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Options

SketchViewModelCreateCreateOptions Class

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Options.SketchViewModelCreateCreateOptions.html”>GeoBlazor Docs</a>

public record SketchViewModelCreateCreateOptions : System.IEquatable<dymaptic.GeoBlazor.Pro.Options.SketchViewModelCreateCreateOptions>

Inheritance System.Object 🡒 SketchViewModelCreateCreateOptions

Implements System.IEquatable<SketchViewModelCreateCreateOptions>

Constructors

SketchViewModelCreateCreateOptions(Nullable<double>, Nullable<bool>, Nullable<DrawMode>, Nullable<bool>) Constructor

<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Options.SketchViewModelCreateCreateOptions.html”>GeoBlazor Docs</a>

public SketchViewModelCreateCreateOptions(System.Nullable<double> DefaultZ=null, System.Nullable<bool> HasZ=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode> Mode=null, System.Nullable<bool> PreserveAspectRatio=null);

Parameters

DefaultZ System.Nullable<System.Double>

The default z-value of the newly created geometry. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

HasZ System.Nullable<System.Boolean>

Controls whether the created geometry has z-values or not. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

Mode System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode>

Specifies how the graphic can be created. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

PreserveAspectRatio System.Nullable<System.Boolean>

Controls whether or not the width and height of the drawn geometry are kept equal. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

Properties

SketchViewModelCreateCreateOptions.DefaultZ Property

The default z-value of the newly created geometry. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<double> DefaultZ { get; set; }

Property Value

System.Nullable<System.Double>

SketchViewModelCreateCreateOptions.HasZ Property

Controls whether the created geometry has z-values or not. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<bool> HasZ { get; set; }

Property Value

System.Nullable<System.Boolean>

SketchViewModelCreateCreateOptions.Mode Property

Specifies how the graphic can be created. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode> Mode { get; set; }

Property Value

System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode>

SketchViewModelCreateCreateOptions.PreserveAspectRatio Property

Controls whether or not the width and height of the drawn geometry are kept equal. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#create”>ArcGIS Maps SDK for JavaScript</a>

public System.Nullable<bool> PreserveAspectRatio { get; set; }

Property Value

System.Nullable<System.Boolean>