C# 클래스 Esri.ArcGISRuntime.Toolkit.Controls.ScaleLine

상속: Control
파일 보기 프로젝트 열기: Esri/arcgis-toolkit-dotnet

공개 프로퍼티들

프로퍼티 타입 설명
ScaleProperty DependencyProperty
TargetWidthProperty DependencyProperty

공개 메소드들

메소드 설명
OnApplyTemplate ( ) : void
ScaleLine ( ) : Esri.ArcGISRuntime.Geometry

Initializes a new instance of the ScaleLine class.

보호된 메소드들

메소드 설명
OnApplyTemplate ( ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

OnApplyTemplate() 보호된 공개 메소드

protected public OnApplyTemplate ( ) : void
리턴 void

ScaleLine() 공개 메소드

Initializes a new instance of the ScaleLine class.
public ScaleLine ( ) : Esri.ArcGISRuntime.Geometry
리턴 Esri.ArcGISRuntime.Geometry

프로퍼티 상세

ScaleProperty 공개적으로 정적으로 프로퍼티

The dependency property for the Scale property.
public static DependencyProperty ScaleProperty
리턴 DependencyProperty

TargetWidthProperty 공개적으로 정적으로 프로퍼티

The dependency property for the TargetWidth property.
public static DependencyProperty TargetWidthProperty
리턴 DependencyProperty