GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Options
SketchViewModelDefaultCreateOptions Class
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Options.SketchViewModelDefaultCreateOptions.html”>GeoBlazor Docs</a> Default create options set for the SketchViewModel. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
public record SketchViewModelDefaultCreateOptions : System.IEquatable<dymaptic.GeoBlazor.Pro.Options.SketchViewModelDefaultCreateOptions>
Inheritance System.Object 🡒 SketchViewModelDefaultCreateOptions
Implements System.IEquatable<SketchViewModelDefaultCreateOptions>
Constructors
SketchViewModelDefaultCreateOptions(Nullable<double>, Nullable<bool>, Nullable<DrawMode>, Nullable<bool>) Constructor
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Options.SketchViewModelDefaultCreateOptions.html”>GeoBlazor Docs</a> Default create options set for the SketchViewModel. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
public SketchViewModelDefaultCreateOptions(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#defaultCreateOptions”>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#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
Mode
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode>
Create operation mode how the graphic can be created. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#defaultCreateOptions”>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#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
Properties
SketchViewModelDefaultCreateOptions.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#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<double> DefaultZ { get; init; }
Property Value
System.Nullable<System.Double>
SketchViewModelDefaultCreateOptions.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#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<bool> HasZ { get; init; }
Property Value
System.Nullable<System.Boolean>
SketchViewModelDefaultCreateOptions.Mode Property
Create operation mode how the graphic can be created. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode> Mode { get; init; }
Property Value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode>
SketchViewModelDefaultCreateOptions.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#defaultCreateOptions”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<bool> PreserveAspectRatio { get; init; }