GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Options

SketchToolCreateOptions Class

Default create options set for the Sketch widget.
ArcGIS Maps SDK for JavaScript

public class SketchToolCreateOptions :
System.IEquatable<dymaptic.GeoBlazor.Pro.Options.SketchToolCreateOptions>

Inheritance System.Object 🡒 SketchToolCreateOptions

Implements System.IEquatable<SketchToolCreateOptions>

Constructors

SketchToolCreateOptions(Nullable, Nullable, Nullable, Nullable) Constructor

Default create options set for the Sketch widget.
ArcGIS Maps SDK for JavaScript

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

Parameters

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

Specifies how the graphic can be created.
ArcGIS Maps SDK for JavaScript

HasZ System.Nullable<System.Boolean>

Controls whether the created geometry has z-values or not.
ArcGIS Maps SDK for JavaScript

DefaultZ System.Nullable<System.Double>

The default z-value of the newly created geometry.
ArcGIS Maps SDK for JavaScript

PreserveAspectRatio System.Nullable<System.Boolean>

Controls whether or not the width and height of the drawn geometry are kept equal.
ArcGIS Maps SDK for JavaScript

Properties

SketchToolCreateOptions.DefaultZ Property

The default z-value of the newly created geometry.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Double>

SketchToolCreateOptions.HasZ Property

Controls whether the created geometry has z-values or not.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>

SketchToolCreateOptions.Mode Property

Specifies how the graphic can be created.
ArcGIS Maps SDK for JavaScript

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

Property Value

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

SketchToolCreateOptions.PreserveAspectRatio Property

Controls whether or not the width and height of the drawn geometry are kept equal.
ArcGIS Maps SDK for JavaScript

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

Property Value

System.Nullable<System.Boolean>