====== ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments ====== {{section>upgrade_map_suite_to_10.0}} Contains important properties and methods of current map object. ===== Inheritance Hierarchy ===== *System.Object ***ThinkGeo.MapSuite.WpfDesktopEdition.MapArguments** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} MapArguments() ** Constructor of MapArguments. == Remarks == N/A == Parameters ==
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} ToWorldCoordinate(PointShape) ** Converts a point from screen coordinate to world coordinate. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] * Description:A point in world coordinate. == Parameters == * //screenCoordinate// * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] * Description:A point in screen coordinate to be converted.
** {{wiki:PublicMethod.gif|}} ToScreenCoordinate(PointShape) ** Converts a point from world coordinate to screen coordinate. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] * Description:A point in screen coordinate. == Parameters == * //worldCoordinate// * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] * Description:A point in world coordinate to be converted.
** {{wiki:PublicMethod.gif|}} GetSnappedZoomLevelIndex(RectangleShape) ** Gets a snapped zoom level index from the provided extent. == Remarks == The extent will automatically snapped a closest scale from the ZoomLevelScale list, and create an extent back with the map's screen width and height. == Return Value == * Type:Int32 * Description:An integar value that indicates the snapped zoom level index. == Parameters == * //extent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:An extent to be snapped.
** {{wiki:PublicMethod.gif|}} GetSnappedZoomLevelIndex(Double) ** Gets a snapped zoom level index from the provided scale. == Remarks == The scale will automatically snapped a closest scale from the ZoomLevelScale list, and create an extent back with the map's screen width and height. == Return Value == * Type:Int32 * Description:An integar value that indicates the snapped zoom level index. == Parameters == * //scale// * Type:Double * Description:A scale to be snapped.
** {{wiki:PublicMethod.gif|}} GetSnappedExtent(RectangleShape) ** Gets a snapped extent from the provided extent. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:A RectangleShape object that indicates the extent which is snapped. == Parameters == * //extent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:An extent to be snapped.
** {{wiki:PublicMethod.gif|}} GetSnappedExtent(RectangleShape,ZoomSnapDirection) ** N/A == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A == Parameters == * //extent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:N/A * //zoomSnapDirection// * Type:[[ThinkGeo.MapSuite.WpfDesktopEdition.ZoomSnapDirection|ZoomSnapDirection]] * Description:N/A
** {{wiki:PublicMethod.gif|}} ToString() ** N/A == Remarks == N/A == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** N/A == Remarks == N/A == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** N/A == Remarks == N/A == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** N/A == Remarks == N/A == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} Finalize() ** N/A == Remarks == N/A == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** N/A == Remarks == N/A == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} MapUnit ** Gets or sets the GeographyUnit for the map. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] ** {{wiki:PublicProperty.gif|}} ActualWidth ** Gets or sets the width of current map object in screen coordinate. == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} ActualHeight ** Gets or sets the height of current map object in screen coordinate. == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} ZoomLevelScales ** Gets a collection of double values that determines the zoomlevel scales. == Remarks == N/A == Return Value == * Type:Collection ** {{wiki:PublicProperty.gif|}} CurrentResolution ** Gets or sets a double value that indicates the current resolution of the map. == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} CurrentScale ** Gets or sets a double value that indicates the current scale of the map. == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} MaximumScale ** This property gets and sets a maximum scale when navigating the map. When you keep zooming out, and the target scale is bigger than the maximum scale, the zooming operation will be stopped. == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} MinimumScale ** This property gets and sets a minimum scale when navigating the map. When you keep zooming in, and the target scale is smaller than the minimum scale, the zooming operation will be stopped. == Remarks == N/A == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} CurrentExtent ** Gets or sets the extent of current map. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ** {{wiki:PublicProperty.gif|}} MaxExtent ** Gets or sets the max extent of current map. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] ==== Protected Properties ==== ==== Public Events ====