GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Events
ScaleEventInfo Class
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Events.ScaleEventInfo.html”>GeoBlazor Docs</a> This information is returned as `toolEventInfo` parameter for the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#event-update”>update</a> event while the user is scaling or resizing the graphics. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo”>ArcGIS Maps SDK for JavaScript</a>
public record ScaleEventInfo : dymaptic.GeoBlazor.Pro.Events.ToolEventInfo, dymaptic.GeoBlazor.Core.Interfaces.IUpdateToolEventInfo, System.IEquatable<dymaptic.GeoBlazor.Pro.Events.ScaleEventInfo>
Inheritance System.Object 🡒 ToolEventInfo 🡒 ScaleEventInfo
Derived
↳ ScaleStartEventInfo
↳ ScaleStopEventInfo
Implements dymaptic.GeoBlazor.Core.Interfaces.IUpdateToolEventInfo, System.IEquatable<ScaleEventInfo>
Constructors
ScaleEventInfo(Nullable<double>, Nullable<double>) Constructor
<a target=”_blank” href=”https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Pro.Events.ScaleEventInfo.html”>GeoBlazor Docs</a> This information is returned as `toolEventInfo` parameter for the <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#event-update”>update</a> event while the user is scaling or resizing the graphics. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo”>ArcGIS Maps SDK for JavaScript</a>
public ScaleEventInfo(System.Nullable<double> XScale=null, System.Nullable<double> YScale=null);
Parameters
XScale
System.Nullable<System.Double>
The x scale factor used to enlarge or shrink the geometry. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo”>ArcGIS Maps SDK for JavaScript</a>
YScale
System.Nullable<System.Double>
The y scale factor used to enlarge or shrink the geometry. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo”>ArcGIS Maps SDK for JavaScript</a>
Properties
ScaleEventInfo.InfoType Property
The type of the ToolEventInfo
public override string InfoType { get; }
Property Value
ScaleEventInfo.XScale Property
The x scale factor used to enlarge or shrink the geometry. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<double> XScale { get; init; }
Property Value
System.Nullable<System.Double>
ScaleEventInfo.YScale Property
The y scale factor used to enlarge or shrink the geometry. <a target=”_blank” href=”https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html#ScaleEventInfo”>ArcGIS Maps SDK for JavaScript</a>
public System.Nullable<double> YScale { get; init; }