Property | Type | Description | |
---|---|---|---|
ScaleProperty | DependencyProperty | ||
TargetWidthProperty | DependencyProperty |
Method | Description | |
---|---|---|
OnApplyTemplate ( ) : void | ||
ScaleLine ( ) : Esri.ArcGISRuntime.Geometry |
Initializes a new instance of the ScaleLine class.
|
Method | Description | |
---|---|---|
OnApplyTemplate ( ) : void |
Method | Description | |
---|---|---|
GetFoot ( ) : double |
1. (target_width_pixels / 96) = target_width_inches 2. target_width_inches * map_scale = map_scale_inches 3. map_scale_inches converted to feet = map_scale_feet
|
|
GetKilometer ( ) : double |
1. (target_width_pixels / 96) = target_width_inches 2. target_width_inches * map_scale = map_scale_inches 3. map_scale_inches converted to kilometers = map_scale_kilometers
|
|
GetMeter ( ) : double |
1. (target_width_pixels / 96) = target_width_inches 2. target_width_inches * map_scale = map_scale_inches 3. map_scale_inches converted to meters = map_scale_meters
|
|
GetMile ( ) : double |
1. (target_width_pixels / 96) = target_width_inches 2. target_width_inches * map_scale = map_scale_inches 3. map_scale_inches converted to miles = map_scale_miles
|
|
GetRoundedValue ( double value ) : double | ||
OnScalePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void |
The property changed event that is raised when the value of Scale property changes.
|
|
OnTargetWidthPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void |
The property changed event that is raised when the value of TargetWidth property changes.
|
|
Refresh ( ) : void |
Refreshes the scaleline when the map extent changes.
|
|
SetMetricUnit ( double value, string unit ) : void |
Sets the metric units section of the scale line
|
|
SetUsUnit ( double value, string unit ) : void |
Sets the imperial units section of the scale line
|
public ScaleLine ( ) : Esri.ArcGISRuntime.Geometry | ||
return | Esri.ArcGISRuntime.Geometry |
public static DependencyProperty ScaleProperty | ||
return | DependencyProperty |