User Tools

Site Tools


thinkgeo.mapsuite.core.extenthelper

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.core.extenthelper [2015/09/17 10:28]
admin
thinkgeo.mapsuite.core.extenthelper [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.Core.ExtentHelper ====== ====== ThinkGeo.MapSuite.Core.ExtentHelper ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 This static class exposes a number of helpful methods when dealing with extents. This static class exposes a number of helpful methods when dealing with extents.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
Line 5: Line 8:
     ***ThinkGeo.MapSuite.Core.ExtentHelper**     ***ThinkGeo.MapSuite.Core.ExtentHelper**
 ===== Members Summary ===== ===== Members Summary =====
-=== Public Constructors === +==== Public Constructors ​==== 
-=== Protected Constructors === +==== Protected Constructors ​==== 
-=== Public Methods === +==== Public Methods ==== 
-<div class_table>​ +** {{wiki:​PublicMethod.gif|}} ​ToString() **
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​CenterAt(RectangleShape,​PointShape,​Single,​Single)|CenterAt]]** +
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Single,​Single +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This is a static function that allows you to pass in a world rectangle, a world point to center on, and a height and width in screen units. ​ The function will center the rectangle based on the point, then adjust the rectangle'​s ratio based on the height and width in screen coordinates. +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​CenterAt(RectangleShape,​Feature,​Single,​Single)|CenterAt]]*+== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​Single,​Single +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This is a static function that allows you to pass in a world rectangle, a world point to center on, and a height and width in screen units. ​ The function will center the rectangle based on the point, then adjust the rectangle'​s ratio based on the height and width in screen coordinates. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​CenterAt(RectangleShape,​Single,​Single,​Single,​Single)|CenterAt]]** +  * Type:String 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single,​Single,​Single +  * Description:N/A
-  * **DeclaringType**:N/A +
-  * **Summary**:​This method returns an adjusted extent centered on a point. +
-</​div>​+
  
-<​div ​class_table+== Parameters == 
-**{{wiki:​PublicMethod.gif|}}[[#Equals(Object)|Equals]]** +<​div ​newline></​div
-  * **Parameters**:​Object +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
-  * **DeclaringType**:​Object +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetBoundingBoxOfItems(IEnumerable<​Feature>​)|GetBoundingBoxOfItems]]*+== Remarks == 
-  * **Parameters**:​IEnumerable<​[[ThinkGeo.MapSuite.Core.Feature|Feature]]>​ +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This API gets the BoundingBox of a group of Features. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetBoundingBoxOfItems(IEnumerable<​BaseShape>​)|GetBoundingBoxOfItems]]** +  * Type:Boolean 
-  * **Parameters**:IEnumerable<​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]>​ +  * Description:N/A
-  * **DeclaringType**:N/A +
-  * **Summary**:​This API gets the BoundingBox of a group of BaseShapes. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetDrawingExtent(RectangleShape,​Single,​Single)|GetDrawingExtent]]** +  //obj// 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single +    Type:Object 
-  * **DeclaringType**:N/A +    Description:N/A
-  * **Summary**:​This method returns an adjusted extent based on the ratio of the screen width and height. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** +** {{wiki:​PublicMethod.gif|}} GetHashCode() **
-  * **Parameters**:​N/​A +
-  * **DeclaringType**:​Object +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetScale(RectangleShape,​Single,​GeographyUnit)|GetScale]]*+== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This method returns the current scale. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetScale(RectangleShape,​Single,​GeographyUnit,​Single)|GetScale]]** +  * Type:Int32 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​Single +  * Description:N/A
-  * **DeclaringType**:N/A +
-  * **Summary**:​This method returns the current scale. +
-</​div>​+
  
-<​div ​class_table+== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,​PointShape,​PointShape,​Single,​Single)|GetScreenDistanceBetweenTwoWorldPoints]]** +<​div ​newline></​div
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Single,​Single +** {{wiki:​PublicMethod.gif|}} ​GetType() **
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns the number of pixels between two world points. +
-</​div>​+
  
-<div class_table>​ +  ​//N/A// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,​Feature,​Feature,​Single,​Single)|GetScreenDistanceBetweenTwoWorldPoints]]*+== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​Single,​Single +  * //N/A//
-  * **DeclaringType**:​N/A +
-  * **Summary**:​This method returns the number of pixels between two features. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}[[#​GetType()|GetType]]** +  * Type:Type 
-  * **Parameters**:N/A +  * Description:N/A
-  * **DeclaringType**:​Object +
-  * **Summary**:N/A +
-</​div>​+
  
-<​div ​class_table+== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,​Single,​Single,​Single,​Single,​Single,​Single,​GeographyUnit,​DistanceUnit)|GetWorldDistanceBetweenTwoScreenPoints]]** +<​div ​newline></​div
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single,​Single,​Single,​Single,​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetDrawingExtent(RectangleShape,​Single,​Single) **
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns the distance in world units between two screen points. +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns an adjusted extent based on the ratio of the screen width and height.// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,​ScreenPointF,​ScreenPointF,​Single,​Single,​GeographyUnit,​DistanceUnit)|GetWorldDistanceBetweenTwoScreenPoints]]** +== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],​Single,​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +  * //This function is used because the extent to draw must be the rame ratio as the screen width and heightIf they are notthen the image drawn will be stretched or compressedWe always adjust the extent upwards to ensure that no matter how we adjust itthe original extent will fit within the new extent. This ensures that everything you wanted to see in the first extent is visible and maybe a bit more.//
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns ​the distance in world units between two screen points. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​Pan(RectangleShape,​PanDirection,​Int32)|Pan]]** +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.PanDirection|PanDirection]],​Int32 +  * Description:This method returns ​an adjusted ​extent ​based on the ratio of the screen width and height.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:This method returns ​a panned ​extent. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​Pan(RectangleShape,​Single,​Int32)|Pan]]** +  //​worldExtent//​ 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Int32 +    Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​N/​A +    Description:This parameter is the world extent ​you want to adjust for drawing.
-  * **Summary**:​This ​method returns a panned ​extent. +
-</​div>​+
  
-<div class_table>​ +  ​//​screenWidth//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ResizeExtent(RectangleShape,​Single,​Single,​Single,​GeographyUnit,​MapResizeMode)|ResizeExtent]]*+    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single,​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​[[ThinkGeo.MapSuite.Core.MapResizeMode|MapResizeMode]] +    Description:This parameter is the width of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns a RectangleShape by resize parameters. +
-</​div>​+
  
-<div class_table>​ +  ​//​screenHeight//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​SnapToZoomLevel(RectangleShape,​GeographyUnit,​Single,​Single,​ZoomLevelSet)|SnapToZoomLevel]]*+    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​Single,​Single,​[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] +    Description:This parameter ​is the height of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns an extent that is snapped to a zoom level in the provided zoom level set. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ToScreenCoordinate(RectangleShape,​Feature,​Single,​Single)|ToScreenCoordinate]]** +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ​CenterAt(RectangleShape,​PointShape,​Single,​Single) **
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​Single,​Single +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns screen coordinates from world coordinates. +
-</​div>​+
  
-<div class_table>​ +  ​//This is a static function that allows you to pass in a world rectanglea world point to center onand a height and width in screen units. ​ The function will center the rectangle based on the pointthen adjust the rectangle'​s ratio based on the height and width in screen coordinates.// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ToScreenCoordinate(RectangleShape,PointShape,Single,​Single)|ToScreenCoordinate]]** +== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Single,​Single +  * //None//
-  * **DeclaringType**:​N/+
-  * **Summary**:​This method returns screen coordinates from world coordinates. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ToScreenCoordinate(RectangleShape,​RectangleShape,​Single,​Single)|ToScreenCoordinate]]** +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single +  * Description:This method returns ​an adjusted extent centered on a point.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:This method returns ​Rectangle in screen coordinates from RectangleShape in world coordinates. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ToScreenCoordinate(RectangleShape,​Double,​Double,​Single,​Single)|ToScreenCoordinate]]** +  //​worldExtent//​ 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Double,​Double,​Single,​Single +    Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​N/​A +    Description:This parameter is the current extent you want to center.
-  * **Summary**:​This ​method returns screen coordinates from world coordinates. +
-</​div>​+
  
-<div class_table>​ +  * //​worldPoint//​ 
-**{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** +    Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Parameters**:N/A +    Description:This parameter is the world point you want to center on.
-  * **DeclaringType**:​Object +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//​screenWidth//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ToWorldCoordinate(RectangleShape,​Single,​Single,​Single,​Single)|ToWorldCoordinate]]*+    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single,​Single,​Single +    Description:This parameter is the width of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns world coordinates from screen ​coordinates. +
-</​div>​+
  
-<div class_table>​ +  ​//​screenHeight//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ToWorldCoordinate(RectangleShape,​ScreenPointF,​Single,​Single)|ToWorldCoordinate]]*+    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],​Single,​Single +    Description:This parameter is the height of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns world coordinates from screen ​coordinates. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#ZoomIn(RectangleShape,​Int32)|ZoomIn]]** +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ​CenterAt(RectangleShape,​Feature,​Single,​Single) **
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32 +
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns a new extent that is zoomed in by the percentage provided. +
-</​div>​+
  
-<div class_table>​ +  ​//This is a static function that allows you to pass in a world rectanglea world point to center onand a height and width in screen units. ​ The function will center the rectangle based on the pointthen adjust the rectangle'​s ratio based on the height and width in screen coordinates.// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomIntoCenter(RectangleShape,Int32,Single,Single,​Single,​Single)|ZoomIntoCenter]]** +== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32,​Single,​Single,​Single,​Single +  * //None//
-  * **DeclaringType**:​N/+
-  * **Summary**:​This method returns an extent that is centered and zoomed in. +
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomIntoCenter(RectangleShape,​Int32,​PointShape,​Single,​Single)|ZoomIntoCenter]]** +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32,​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Single,​Single +  * Description:This method returns an adjusted ​extent centered ​on a point.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:This method returns an extent ​that is centered ​and zoomed in. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomIntoCenter(RectangleShape,​Int32,​Feature,​Single,​Single)|ZoomIntoCenter]]** +  //​worldExtent//​ 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32,​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​Single,​Single +    Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​N/​A +    Description:This parameter is the current ​extent ​you want to center.
-  * **Summary**:​This ​method returns an extent ​that is centered and zoomed. +
-</​div>​+
  
-<div class_table>​ +  ​//​centerFeature//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomIntoOffsetPoint(RectangleShape,​Single,​Single,​ScreenPointF,​Int32)|ZoomIntoOffsetPoint]]*+    Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single,​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],​Int32 +    Description:This parameter ​is the world point you want to center on.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns an extent that is keeping ​the offsetScreenPoint constant and zoomed. +
-</​div>​+
  
-<div class_table>​ +  ​//​screenWidth//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomOut(RectangleShape,​Int32)|ZoomOut]]*+    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32 +    Description:This parameter ​is the width of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns a new extent that is zoomed out by the percentage provided. +
-</​div>​+
  
-<div class_table>​ +  ​//​screenHeight//​ 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomOutToCenter(RectangleShape,​Int32,​Feature,​Single,​Single)|ZoomOutToCenter]]*+    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32,​[[ThinkGeo.MapSuite.Core.Feature|Feature]],​Single,​Single +    Description:This parameter ​is the height of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns an extent that is centered and zoomed out. +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomOutToCenter(RectangleShape,​Int32,​PointShape,​Single,​Single)|ZoomOutToCenter]]** +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} ​CenterAt(RectangleShape,​Single,​Single,​Single,​Single**
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32,​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]],​Single,​Single +
-  ​* **DeclaringType**:​N/​A +
-  * **Summary**:​This method returns an extent that is centered and zoomed out. +
-</​div>​+
  
-<div class_table>​ +  ​* //This method returns an adjusted ​extent centered ​on a point.// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomOutToCenter(RectangleShape,​Int32,​Single,​Single,​Single,​Single)|ZoomOutToCenter]]** +== Remarks == 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Int32,​Single,​Single,​Single,​Single +  * //None//
-  * **DeclaringType**:​N/+
-  * **Summary**:​This method returns an extent ​that is centered ​and zoomed out+
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomOutToOffsetPoint(RectangleShape,​Single,​Single,​ScreenPointF,​Int32)|ZoomOutToOffsetPoint]]** +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​Single,​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]],​Int32 +  * Description:This method returns an adjusted ​extent ​centered on a point.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:This method returns an extent ​that is keeping the offsetScreenPoint constant and zoomed. +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomToScale(Double,​RectangleShape,​GeographyUnit,​Single,​Single)|ZoomToScale]]** +  //​worldExtent//​ 
-  * **Parameters**:Double,[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​Single,​Single +    Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​N/​A +    Description:This parameter is the current ​extent ​you want to center.
-  * **Summary**:​This ​method returns a extent ​that has been zoomed into a certain scale. +
-</​div>​+
  
-<div class_table>​ +  ​//screenX// 
-**{{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}}[[#​ZoomToScale(Double,​RectangleShape,​GeographyUnit,​Single,​Single,​ScreenPointF)|ZoomToScale]]*+    Type:Single 
-  * **Parameters**:Double,​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​Single,​Single,​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +    Description:This parameter is the X coordinate on the screen to center on.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​This ​method returns a extent that has been zoomed into a certain scale. +
-</​div>​+
  
-=== Protected Methods === +  ​* //screenY/
-<div class_table>​ +    Type:Single 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​/xU=()|/xU=]]** +    Description:This parameter is the Y coordinate on the screen to center on.
-  * **Parameters**:​N/A +
-  * **DeclaringType**:N/A +
-  * **Summary**:N/A +
-</​div>​+
  
-<div class_table>​ +  ​* //​screenWidth//​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​Finalize()|Finalize]]** +    Type:Single 
-  * **Parameters**:​N/A +    Description:This parameter is the width of the screen.
-  * **DeclaringType**:Object +
-  * **Summary**:N/A +
-</​div>​+
  
-<div class_table>​ +  ​* //​screenHeight//​ 
-**{{wiki:​ProtectedMethod.gif|}}[[#​MemberwiseClone()|MemberwiseClone]]** +    Type:Single 
-  * **Parameters**:​N/A +    Description:This parameter is the height of the screen.
-  * **DeclaringType**:Object +
-  * **Summary**:N/A +
-</​div>​+
  
-<​div ​class_table+<​div ​newline></​div
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#Qj4=(Double,RectangleShape,​GeographyUnit,Single)|Qj4=]]** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ​GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,​PointShape,​PointShape,​Single,​Single**
-  * **Parameters**:​Double,​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],Single +
-  ​* **DeclaringType**:​N/​A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//This method returns the number of pixels between two world points.// 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​g0M=(RectangleShape,​Single,​GeographyUnit,​Single)|g0M=]]** +== Remarks ​== 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]],​Single +  * //None//
-  * **DeclaringType**:​N/+
-  * **Summary**:​N/+
-</div>+
  
-<div class_table>​ +== Return Value == 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​hUM=(Double,​Collection<​Double>​)|hUM=]]** +  * Type:Single 
-  * **Parameters**:Double,​Collection<​Double>​ +  * Description:This method returns the number of pixels between two world points.
-  * **DeclaringType**:N/A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +== Parameters == 
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​hUM=(Double,​Collection<​Double>,​Double,​Double)|hUM=]]** +  //​worldExtent//​ 
-  * **Parameters**:Double,​Collection<​Double>,​Double,​Double +    ​Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **DeclaringType**:​N/​A +    Description:This parameter is the world extent.
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//​worldPoint1//​ 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​hkM=(RectangleShape,​Single,​GeographyUnit)|hkM=]]*+    Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Parameters**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]],​Single,​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +    Description:This parameter is the first point -- the one you want to measure from.
-  * **DeclaringType**:N/A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  * //​worldPoint2//​ 
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​i0M=(Bitmap,​Rectangle,​RectangleF)|i0M=]]** +    Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Parameters**:Bitmap,​Rectangle,​RectangleF +    Description:This parameter is the second point -- the one you want to measure to.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  * //​screenWidth//​ 
-**{{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​jEM=(PointShape)|jEM=]]** +    Type:Single 
-  * **Parameters**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    Description:This parameter is the width of the screen.
-  * **DeclaringType**:​N/​A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-<div class_table>​ +  ​//​screenHeight//​ 
-**{{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}}[[#​jUM=(Dictionary<​String,​String>​)|jUM=]]*+    Type:Single 
-  * **Parameters**:Dictionary<​String,​String>​ +    Description:This parameter is the height of the screen.
-  * **DeclaringType**:N/A +
-  * **Summary**:​N/​A +
-</​div>​+
  
-=== Public Properties === +<div newline></​div>​ 
-=== Protected Properties === +** {{wiki:​PublicMethod.gif|}}{{wiki:​Static.gif|}} GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,​Feature,​Feature,​Single,​Single) ​**
-=== Public Events === +
-===== Public Constructors ===== +
-===== Protected Constructors ===== +
-===== Public Methods ===== +
-=== CenterAt(RectangleShape,​PointShape,​Single,​Single) ​=== +
-This is a static function that allows you to pass in a world rectangle, a world point to center on, and a height and width in screen units. ​ The function will center the rectangle based on the point, then adjust the rectangle'​s ratio based on the height and width in screen coordinates. +
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//This method returns the number of pixels between two features.// 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +== Remarks == 
-  * **Description**:​This method returns an adjusted extent centered on a point.+  * //None//
  
-==== Parameters ==== +== Return Value == 
-**worldExtent** +  * Type:Single 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * Description:​This ​method returns ​the number of pixels between two features.
-  ​* **Description**:This parameter is the current extent you want to center.+
  
-**worldPoint** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​worldExtent//​ 
-  * **Description**:This parameter is the world point you want to center on.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent.
  
-**screenWidth** +  ​//​worldPointFeature1//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the first feature -- the one you want to measure from.
  
-**screenHeight** +  ​//​worldPointFeature2//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **Description**:This parameter is the height of the screen.+    * Description:​This parameter is the second feature -- the one you want to measure to.
  
-[[#Public Methods|Go Back]] +  * //​screenWidth//​ 
-=== CenterAt(RectangleShape,​Feature,​Single,Single) === +    * Type:Single 
-This is a static function that allows you to pass in a world rectangle, a world point to center on, and a height and width in screen units. ​ The function will center ​the rectangle based on the point, then adjust the rectangle'​s ratio based on the height and width in screen ​coordinates. +    * Description:​This parameter ​is the width of the screen.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​screenHeight//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:This method returns an adjusted extent centered on a point.+    * Description:​This ​parameter is the height of the screen.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,​ScreenPointF,​ScreenPointF,​Single,​Single,​GeographyUnit,​DistanceUnit) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the current extent you want to center.+
  
-**centerFeature** +  ​//This method returns the distance in world units between two screen points.// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] +== Remarks == 
-  * **Description**:​This parameter is the world point you want to center on.+  * //None//
  
-**screenWidth** +== Return Value == 
-  ​* **Type**:Single +  * Type:Double 
-  ​* **Description**:This parameter is the width of the screen.+  * Description:​This ​method returns ​the distance in world units between two screen ​points.
  
-**screenHeight** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the height of the screen.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent.
  
-[[#Public Methods|Go Back]] +  * //​screenPoint1//​ 
-=== CenterAt(RectangleShape,​Single,​Single,​Single,​Single) === +    * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-This method returns an adjusted extent centered on a point. +    * Description:​This is the screen ​point you want to measure from.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​screenPoint2//​ 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-  * **Description**:This method returns an adjusted extent centered on a point.+    * Description:​This ​is the screen ​point you want to measure to.
  
-==== Parameters ==== +  ​//​screenWidth//​ 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the width of the screen.
-  * **Description**:This parameter is the current extent you want to center.+
  
-**screenX** +  ​//​screenHeight//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the X coordinate on the screen ​to center on.+    * Description:​This parameter is the height of the screen.
  
-**screenY** +  ​//​worldExtentUnit//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Description**:This parameter ​is the Y coordinate on the screen to center on.+    * Description:​This is the geographic unit of the world extent rectangle.
  
-**screenWidth** +  ​//​distanceUnit//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:This parameter ​is the width of the screen.+    * Description:​This is the geographic unit you want the result to show in.
  
-**screenHeight** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,​Single,​Single,​Single,​Single,​Single,​Single,​GeographyUnit,​DistanceUnit) ​**
-  ​* **Description**:​This parameter is the height of the screen.+
  
-[[#Public Methods|Go Back]] +  * //This method returns the distance in world units between two screen points./
-=== Equals(Object) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Boolean +  * Type:Double 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**obj** +  //​worldExtent//​ 
-  * **Type**:Object +    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:N/A+    * Description:​This parameter is the world extent.
  
-[[#Public Methods|Go Back]] +  * //​screenPoint1X//​ 
-=== GetBoundingBoxOfItems(IEnumerable<​Feature>​) === +    * Type:Single 
-This API gets the BoundingBox ​of a group of Features. +    * Description:​This parameter is the of the point you want to measure from.
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​screenPoint1Y//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:The BoundingBox that contains all the features ​you passed in.+    * Description:​This parameter is the Y of the point you want to measure from.
  
-==== Parameters ==== +  ​//​screenPoint2X//​ 
-**features*+    * Type:Single 
-  * **Type**:IEnumerable<​[[ThinkGeo.MapSuite.Core.Feature|Feature]]>​ +    * Description:​This parameter is the X of the point you want to measure ​to.
-  * **Description**:The target group of Features ​to get the BoundingBox for.+
  
-[[#Public Methods|Go Back]] +  * //​screenPoint2Y//​ 
-=== GetBoundingBoxOfItems(IEnumerable<​BaseShape>​) === +    * Type:Single 
-This API gets the BoundingBox ​of a group of BaseShapes. +    * Description:​This parameter is the of the point you want to measure to.
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​screenWidth//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:The BoundingBox that contains all of the shapes you passed in.+    * Description:​This parameter is the width of the screen.
  
-==== Parameters ==== +  ​//​screenHeight//​ 
-**shapes*+    * Type:Single 
-  * **Type**:IEnumerable<​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]>​ +    * Description:​This parameter is the height ​of the screen.
-  * **Description**:The target group of BaseShapes to get the BoundingBox for.+
  
-[[#Public Methods|Go Back]] +  * //​worldExtentUnit//​ 
-=== GetDrawingExtent(RectangleShape,​Single,​Single) === +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-This method returns an adjusted extent based on the ratio of the screen width and height. +    * Description:​This is the geographic unit of the world extent you passed ​in.
-==== Remarks ==== +
-This function is used because the extent ​to draw must be the rame ratio as the screen width and height. If they are not, then the image drawn will be stretched or compressed. We always adjust the extent upwards to ensure that no matter how we adjust it, the original extent will fit within the new extent. This ensures that everything ​you wanted to see in the first extent is visible and maybe a bit more.+
  
-**Return Value** +  ​//​distanceUnit//​ 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] 
-  * **Description**:This method returns an adjusted extent based on the ratio of the screen width and height.+    * Description:​This ​is the geographic unit you want the result to show in.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetScale(RectangleShape,​Single,​GeographyUnit) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the world extent you want to adjust for drawing.+
  
-**screenWidth** +  ​//This method returns the current scale.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the width of the screen.+  * //None//
  
-**screenHeight** +== Return Value == 
-  ​* **Type**:Single +  * Type:Double 
-  ​* **Description**:This parameter is the height of the screen.+  * Description:​This ​method returns ​the current scale.
  
-[[#Public Methods|Go Back]] +== Parameters ​== 
-=== GetHashCode() === +  * //​worldExtent/​
-N/A +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-==== Remarks ==== +    * Description:​This parameter is the world extent you want to find the scale for.
-N/A+
  
-**Return Value** +  ​//​screenWidth//​ 
-  **Return ​Type**:Int32 +    * Type:Single 
-  * **Description**:N/A+    * Description:​This parameter is the screen width.
  
-==== Parameters ==== +  * //​worldExtentUnit//​ 
-[[#Public Methods|Go Back]] +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-=== GetScale(RectangleShape,​Single,​GeographyUnit) === +    * Description:​This parameter is the unit of the world extent.
-This method returns ​the current scale. +
-==== Remarks ==== +
-None+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Double +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetScale(RectangleShape,​Single,​GeographyUnit,​Single) ​**
-  ​* **Description**:​This method returns the current scale.+
  
-==== Parameters ==== +  * //This method returns the current scale.// 
-**worldExtent** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //None//
-  * **Description**:​This parameter is the world extent you want to find the scale for.+
  
-**screenWidth** +== Return Value == 
-  ​* **Type**:Single +  * Type:Double 
-  ​* **Description**:This parameter is the screen width.+  * Description:​This ​method returns ​the current scale.
  
-**worldExtentUnit** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +  * //​worldExtent//​ 
-  * **Description**:This parameter is the unit of the world extent.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent ​you want to find the scale for.
  
-[[#Public Methods|Go Back]] +  * //​screenWidth//​ 
-=== GetScale(RectangleShape,​Single,​GeographyUnit,​Single) === +    * Type:Single 
-This method returns ​the current scale. +    * Description:​This parameter is the screen width.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​worldExtentUnit//​ 
-  **Return ​Type**:Double +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Description**:This method returns ​the current scale.+    * Description:​This ​parameter is the unit of the world extent.
  
-==== Parameters ==== +  ​//dpi// 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the dpi of the world extent.
-  * **Description**:This parameter is the world extent ​you want to find the scale for.+
  
-**screenWidth** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetBoundingBoxOfItems(IEnumerable<​BaseShape>​) ​**
-  ​* **Description**:​This parameter is the screen width.+
  
-**worldExtentUnit** +  ​//This API gets the BoundingBox of a group of BaseShapes.// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +== Remarks == 
-  * **Description**:​This parameter is the unit of the world extent.+  * //N/A//
  
-**dpi** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter is the dpi of the world extent.+  * Description:​The BoundingBox that contains all of the shapes you passed in.
  
-[[#Public Methods|Go Back]] +== Parameters == 
-=== GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,​PointShape,​PointShape,​Single,​Single) === +  * //​shapes//​ 
-This method returns ​the number of pixels between two world points. +    * Type:​IEnumerable<​[[ThinkGeo.MapSuite.Core.BaseShape|BaseShape]]> 
-==== Remarks ==== +    * Description:​The target group of BaseShapes to get the BoundingBox for.
-None+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} GetBoundingBoxOfItems(IEnumerable<​Feature>​) ​**
-  ​* **Description**:​This method returns the number of pixels between two world points.+
  
-==== Parameters ==== +  * //This API gets the BoundingBox of a group of Features.//​ 
-**worldExtent** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //N/A//
-  * **Description**:​This parameter is the world extent.+
  
-**worldPoint1** +== Return Value == 
-  ​* **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter is the first point -- the one you want to measure from.+  * Description:​The BoundingBox that contains all the features ​you passed in.
  
-**worldPoint2** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​features//​ 
-  * **Description**:This parameter is the second point -- the one you want to measure to.+    ​* Type:IEnumerable<​[[ThinkGeo.MapSuite.Core.Feature|Feature]]> 
 +    * Description:​The target group of Features to get the BoundingBox for.
  
-**screenWidth** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomIn(RectangleShape,​Int32) ​**
-  ​* **Description**:​This parameter is the width of the screen.+
  
-**screenHeight** +  ​//This method returns a new extent that is zoomed in by the percentage provided.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the height of the screen.+  * //None//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,​Feature,​Feature,​Single,​Single) === +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-This method returns the number of pixels between two features. +  * Description:​This method returns ​a new extent that is zoomed in by the percentage provided.
-==== Remarks ==== +
-None+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This method returns ​the number of pixels between two features.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This ​parameter is the world extent you want to zoom to.
  
-==== Parameters ==== +  ​//​percentage//​ 
-**worldExtent*+    * Type:Int32 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the percentage by which you want to zoom in.
-  * **Description**:This parameter is the world extent.+
  
-**worldPointFeature1** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomIntoCenter(RectangleShape,​Int32,​PointShape,​Single,​Single) ​**
-  ​* **Description**:​This parameter is the first feature -- the one you want to measure from.+
  
-**worldPointFeature2** +  ​//This method returns an extent that is centered and zoomed in.// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] +== Remarks == 
-  * **Description**:​This parameter is the second feature -- the one you want to measure ​to.+  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.//
  
-**screenWidth** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter ​is the width of the screen.+  * Description:​This ​method returns an extent that is centered and zoomed in.
  
-**screenHeight** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the height of the screen.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent that you want centered and zoomed to.
  
-[[#Public Methods|Go Back]] +  * //​percentage/​
-=== GetType() === +    * Type:Int32 
-N/A +    * Description:​This parameter is the percentage by which you want to zoom in.
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​worldPoint//​ 
-  **Return ​Type**:Type +    * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Description**:N/A+    * Description:​This parameter is the world point you want the extent to be centered on.
  
-==== Parameters ==== +  * //​screenWidth//​ 
-[[#Public Methods|Go Back]] +    * Type:Single 
-=== GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,​Single,​Single,​Single,​Single,​Single,​Single,​GeographyUnit,​DistanceUnit) === +    * Description:​This parameter is the width in screen ​coordinates.
-This method returns ​the distance ​in world units between two screen ​points. +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​screenHeight//​ 
-  **Return ​Type**:Double +    * Type:Single 
-  * **Description**:N/A+    * Description:​This parameter is the height in screen coordinates.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomIntoCenter(RectangleShape,​Int32,​Feature,​Single,​Single) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the world extent.+
  
-**screenPoint1X** +  ​//This method returns an extent that is centered and zoomed.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the of the point you want to measure from.+  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.//
  
-**screenPoint1Y** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter ​is the Y of the point you want to measure from.+  * Description:​This ​method returns an extent that is centered and zoomed in.
  
-**screenPoint2X** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the X of the point you want to measure ​to.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent that you want centered and zoomed ​to.
  
-**screenPoint2Y** +  ​//​percentage//​ 
-  * **Type**:Single +    * Type:Int32 
-  * **Description**:This parameter is the Y of the point you want to measure to.+    * Description:​This parameter is the percentage by which you want to zoom in.
  
-**screenWidth** +  ​//​centerFeature//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the feature you want the extent to be centered on.
  
-**screenHeight** +  ​//​screenWidth//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height of the screen.+    * Description:​This parameter is the width in screen ​coordinates.
  
-**worldExtentUnit** +  ​//​screenHeight//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +    * Type:Single 
-  * **Description**:This is the geographic unit of the world extent you passed ​in.+    * Description:​This ​parameter ​is the height ​in screen coordinates.
  
-**distanceUnit** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomIntoCenter(RectangleShape,​Int32,​Single,​Single,​Single,​Single) ​**
-  ​* **Description**:​This is the geographic unit you want the result to show in.+
  
-[[#Public Methods|Go Back]] +  * //This method returns ​an extent that is centered and zoomed ​in.// 
-=== GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,​ScreenPointF,​ScreenPointF,​Single,​Single,​GeographyUnit,​DistanceUnit) === +== Remarks == 
-This method returns ​the distance ​in world units between two screen points+  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.//​
-==== Remarks ​==== +
-None+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Double +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This method returns ​the distance ​in world units between two screen points.+  * Description:​This method returns ​an extent that is centered and zoomed ​in.
  
-==== Parameters ​==== +== Parameters == 
-**worldExtent** +  //worldExtent// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:This parameter is the world extent.+    * Description:​This parameter is the world extent ​you want to center and zoom to.
  
-**screenPoint1** +  ​//​percentage//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +    * Type:Int32 
-  * **Description**:This is the screen point you want to measure from.+    * Description:​This ​parameter ​is the percentage by which you want to zoom in.
  
-**screenPoint2** +  ​//screenX// 
-  * **Type**:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +    * Type:Single 
-  * **Description**:This is the screen ​point you want to measure to.+    * Description:​This ​parameter ​is the screen ​you want to center on.
  
-**screenWidth** +  ​//screenY// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the screen ​Y you want to center on.
  
-**screenHeight** +  ​//​screenWidth//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height ​of the screen.+    * Description:​This parameter is the width of the screen.
  
-**worldExtentUnit** +  ​//​screenHeight//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +    * Type:Single 
-  * **Description**:This is the geographic unit of the world extent rectangle.+    * Description:​This ​parameter ​is the height ​of the screen.
  
-**distanceUnit** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.DistanceUnit|DistanceUnit]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomOut(RectangleShape,​Int32) ​**
-  ​* **Description**:​This is the geographic unit you want the result to show in.+
  
-[[#Public Methods|Go Back]] +  * //This method returns a new extent ​that is zoomed out by the percentage provided.// 
-=== Pan(RectangleShape,​PanDirection,​Int32) === +== Remarks == 
-This method returns a panned ​extent. +  * //None//
-==== Remarks ​==== +
-None+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This method returns a panned ​extent.+  * Description:​This method returns a new extent ​that is zoomed out by the percentage provided.
  
-==== Parameters ​==== +== Parameters == 
-**worldExtent** +  //worldExtent// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:This parameter is the world extent you want to pan.+    * Description:​This parameter is the world extent you want to zoom out to.
  
-**direction** +  ​//​percentage//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.PanDirection|PanDirection]] +    * Type:Int32 
-  * **Description**:This parameter is the direction in which you want to pan.+    * Description:​This parameter is the percentage by which you want to zoom out.
  
-**percentage** +<div newline></​div>​ 
-  * **Type**:Int32 +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomOutToCenter(RectangleShape,​Int32,​PointShape,​Single,​Single) ​**
-  ​* **Description**:​This parameter is the percentage by which you want to pan.+
  
-[[#Public Methods|Go Back]] +  * //This method returns ​an extent ​that is centered and zoomed out.// 
-=== Pan(RectangleShape,​Single,​Int32) === +== Remarks == 
-This method returns ​a panned ​extent. +  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.//​
-==== Remarks ​==== +
-None+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This method returns ​a panned ​extent.+  * Description:​This method returns ​an extent ​that is centered and zoomed out.
  
-==== Parameters ​==== +== Parameters == 
-**worldExtent** +  //worldExtent// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:This parameter is the world extent you want to pan.+    * Description:​This parameter is the world extent you want to center and zoom out to.
  
-**degree** +  ​//​percentage//​ 
-  * **Type**:Single +    * Type:Int32 
-  * **Description**:This parameter is the degree ​you want to pan.+    * Description:​This parameter is the percentage by which you want to zoom out.
  
-**percentage** +  ​//​worldPoint//​ 
-  * **Type**:Int32 +    * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Description**:This parameter is the percentage by which you want to pan.+    * Description:​This parameter is the world point you want the extent ​to be centered on.
  
-[[#Public Methods|Go Back]] +  * //​screenWidth//​ 
-=== ResizeExtent(RectangleShape,​Single,​Single,​Single,​GeographyUnit,​MapResizeMode) === +    * Type:Single 
-This method returns a RectangleShape by resize parameters. +    * Description:​This parameter is the width of the screen.
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​screenHeight//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:This method returns a RectangleShape by resize parameters.+    * Description:​This ​parameter is the height of the screen.
  
-==== Parameters ==== +<div newline></​div>​ 
-**sourceExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomOutToCenter(RectangleShape,​Int32,​Feature,​Single,​Single) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​The rectangle shape before rezise+
  
-**sourceScreenWidth** +  ​//This method returns an extent that is centered and zoomed out.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​The width of the source rectangle shape in screen ​coordinate+  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.//​
  
-**targetScreenWidth** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:The width of the target rectangle shape in screen coordinate+  * Description:​This method returns an extent that is centered and zoomed out.
  
-**targetScreenHeight** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:The height of the target rectangle shape in screen coordinate+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent you want to center and zoom out to.
  
-**mapUnit** +  ​//​percentage//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +    * Type:Int32 
-  * **Description**:map unit which this rectangle shape used+    * Description:​This parameter is the percentage by which you want to zoom out.
  
-**resizeType** +  ​//​centerFeature//​ 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.MapResizeMode|MapResizeMode]] +    * Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **Description**:Represents resize type which can decide to use which way to resize.+    * Description:​This parameter is the feature you want the extent ​to be centered on.
  
-[[#Public Methods|Go Back]] +  * //​screenWidth//​ 
-=== SnapToZoomLevel(RectangleShape,​GeographyUnit,​Single,​Single,​ZoomLevelSet) === +    * Type:Single 
-This method returns an extent that is snapped to a zoom level in the provided zoom level set. +    * Description:​This parameter ​is the width of the screen.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​screenHeight//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:This method returns an extent that is snapped to a zoom level in the provided zoom level set.+    * Description:​This ​parameter ​is the height of the screen.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomOutToCenter(RectangleShape,​Int32,​Single,​Single,​Single,​Single) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the world extent you want snapped.+
  
-**worldExtentUnit** +  ​//This method returns an extent that is centered and zoomed out.// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +== Remarks == 
-  * **Description**:​This parameter is the geographic unit of the world extent parameter.+  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterward.//
  
-**screenWidth** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter ​is the screen width.+  * Description:​This ​method returns an extent that is centered and zoomed out.
  
-**screenHeight** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the screen height.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent you want to center and zoom out to.
  
-**zoomLevelSet** +  ​//​percentage//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] +    * Type:Int32 
-  * **Description**:This parameter is the set of zoom levels ​you want to snap to.+    * Description:​This parameter is the percentage by which you want to zoom out.
  
-[[#Public Methods|Go Back]] +  * //screenX// 
-=== ToScreenCoordinate(RectangleShape,​Feature,​Single,Single) === +    * Type:Single 
-This method returns ​screen ​coordinates from world coordinates. +    * Description:​This parameter is the screen ​X you want to center on.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//screenY// 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +    * Type:Single 
-  * **Description**:This method returns ​screen ​coordinates from world coordinates.+    * Description:​This ​parameter is the screen ​Y you want to center on.
  
-==== Parameters ==== +  ​//​screenWidth//​ 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the width of the screen.
-  * **Description**:This parameter is the world extent.+
  
-**worldPointFeature** +  ​//​screenHeight//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.Feature|Feature]] +    * Type:Single 
-  * **Description**:This parameter is the feature you want converted to a screen ​point.+    * Description:​This parameter is the height of the screen.
  
-**screenWidth** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} Pan(RectangleShape,​PanDirection,​Int32) ​**
-  ​* **Description**:​This parameter is the width of the screen.+
  
-**screenHeight** +  ​//This method returns a panned extent.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the height of the screen.+  * //None//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== ToScreenCoordinate(RectangleShape,​PointShape,​Single,​Single) === +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-This method returns ​screen coordinates from world coordinates. +  * Description:​This method returns ​a panned extent.
-==== Remarks ==== +
-None+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +  * //​worldExtent//​ 
-  * **Description**:This method returns screen coordinates from world coordinates.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This ​parameter is the world extent you want to pan.
  
-==== Parameters ==== +  ​//​direction//​ 
-**worldExtent*+    * Type:​[[ThinkGeo.MapSuite.Core.PanDirection|PanDirection]] 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the direction in which you want to pan.
-  * **Description**:This parameter is the world extent.+
  
-**worldPoint** +  ​//​percentage//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Type:Int32 
-  * **Description**:This parameter is the world point you want converted ​to a screen point.+    * Description:​This parameter is the percentage by which you want to pan.
  
-**screenWidth** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} Pan(RectangleShape,​Single,​Int32) ​**
-  ​* **Description**:​This parameter is the width of the screen.+
  
-**screenHeight** +  ​//This method returns a panned extent.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the height of the screen.+  * //None//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== ToScreenCoordinate(RectangleShape,​RectangleShape,​Single,​Single) === +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-This method returns ​Rectangle in screen coordinates from RectangleShape in world coordinates. +  * Description:​This method returns ​a panned extent.
-==== Remarks ==== +
-None+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Rectangle +  * //​worldExtent//​ 
-  * **Description**:This method returns Rectangle in screen coordinates from RectangleShape in world coordinates.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This ​parameter is the world extent you want to pan.
  
-==== Parameters ==== +  ​//degree// 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the degree you want to pan.
-  * **Description**:This parameter is the world extent.+
  
-**targetExtent** +  ​//​percentage//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Int32 
-  * **Description**:This parameter is the rectangle shape in world coordinate ​you want converted ​to a rectangle in screen coordinate.+    * Description:​This parameter is the percentage by which you want to pan.
  
-**currentExtentWidth** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ToScreenCoordinate(RectangleShape,​Double,​Double,​Single,​Single) ​**
-  ​* **Description**:​This parameter is the width of the screen.+
  
-**currentExtentHeight** +  ​//This method returns screen coordinates from world coordinates.//​ 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the height of the screen.+  * //None//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== ToScreenCoordinate(RectangleShape,​Double,​Double,​Single,​Single) === +  * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-This method returns screen coordinates from world coordinates. +  * Description:​This method returns screen coordinates from world coordinates.
-==== Remarks ==== +
-None+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +  * //​worldExtent//​ 
-  * **Description**:This method returns screen coordinates from world coordinates.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This ​parameter is the world extent.
  
-==== Parameters ==== +  ​//worldX// 
-**worldExtent*+    * Type:Double 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the world X you want converted to screen points.
-  * **Description**:This parameter is the world extent.+
  
-**worldX** +  ​//worldY// 
-  * **Type**:Double +    * Type:​Double 
-  * **Description**:This parameter is the world you want converted to screen points.+    * Description:​This parameter is the world you want converted to screen points.
  
-**worldY** +  ​//​screenWidth//​ 
-  * **Type**:Double +    * Type:Single 
-  * **Description**:This parameter is the world Y you want converted to screen ​points.+    * Description:​This parameter is the width of the screen.
  
-**screenWidth** +  ​//​screenHeight//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the height ​of the screen.
  
-**screenHeight** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ToScreenCoordinate(RectangleShape,​RectangleShape,​Single,​Single) ​**
-  ​* **Description**:​This parameter is the height of the screen.+
  
-[[#Public Methods|Go Back]] +  * //This method returns Rectangle in screen coordinates from RectangleShape in world coordinates./​
-=== ToString() === +== Remarks == 
-N/A +  * //None//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:String +  * Type:Rectangle 
-  ​* **Description**:N/A+  * Description:​This method returns Rectangle in screen coordinates from RectangleShape in world coordinates.
  
-==== Parameters ==== +== Parameters == 
-[[#Public Methods|Go Back]] +  * //​worldExtent//​ 
-=== ToWorldCoordinate(RectangleShape,​Single,​Single,​Single,​Single) === +    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-This method returns ​world coordinates from screen coordinates. +    * Description:​This parameter is the world extent.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​targetExtent//​ 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:This method returns ​world coordinates from screen ​coordinates.+    * Description:​This ​parameter is the rectangle shape in world coordinate you want converted to a rectangle in screen ​coordinate.
  
-==== Parameters ==== +  ​//​currentExtentWidth//​ 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the width of the screen.
-  * **Description**:This parameter is the world extent.+
  
-**screenX** +  ​//​currentExtentHeight//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the of the point you want converted to world coordinates.+    * Description:​This parameter is the height ​of the screen.
  
-**screenY** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ToScreenCoordinate(RectangleShape,​PointShape,​Single,​Single) ​**
-  ​* **Description**:​This parameter is the Y of the point you want converted to world coordinates.+
  
-**screenWidth** +  ​//This method returns screen coordinates from world coordinates.//​ 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the width of the screen.+  * //None//
  
-**screenHeight** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-  ​* **Description**:This parameter is the height of the screen.+  * Description:​This ​method returns ​screen ​coordinates from world coordinates.
  
-[[#Public Methods|Go Back]] +== Parameters == 
-=== ToWorldCoordinate(RectangleShape,​ScreenPointF,​Single,​Single) === +  * //​worldExtent//​ 
-This method returns ​world coordinates from screen coordinates. +    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-==== Remarks ==== +    * Description:​This parameter is the world extent.
-None+
  
-**Return Value** +  ​//​worldPoint//​ 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  * **Description**:This method returns ​world coordinates from screen ​coordinates.+    * Description:​This ​parameter is the world point you want converted to a screen ​point.
  
-==== Parameters ==== +  ​//​screenWidth//​ 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the width of the screen.
-  * **Description**:This parameter is the world extent.+
  
-**screenPoint** +  ​//​screenHeight//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +    * Type:Single 
-  * **Description**:This parameter is the screen ​point you want converted to a world point.+    * Description:​This parameter is the height of the screen.
  
-**screenWidth** +<div newline></​div>​ 
-  * **Type**:Single +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ToScreenCoordinate(RectangleShape,​Feature,​Single,​Single) ​**
-  ​* **Description**:​This parameter is the width of the screen.+
  
-**screenHeight** +  ​//This method returns screen coordinates from world coordinates.//​ 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the height of the screen.+  * //None//
  
-[[#Public Methods|Go Back]] +== Return Value == 
-=== ZoomIn(RectangleShape,​Int32) === +  * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-This method returns ​a new extent that is zoomed in by the percentage provided. +  * Description:​This method returns ​screen coordinates from world coordinates.
-==== Remarks ==== +
-None+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //​worldExtent//​ 
-  * **Description**:This method returns a new extent that is zoomed in by the percentage provided.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This ​parameter ​is the world extent.
  
-==== Parameters ==== +  ​//​worldPointFeature//​ 
-**worldExtent*+    * Type:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the feature ​you want converted ​to a screen point.
-  * **Description**:This parameter is the world extent ​you want to zoom to.+
  
-**percentage** +  ​//​screenWidth//​ 
-  * **Type**:Int32 +    * Type:Single 
-  * **Description**:This parameter is the percentage by which you want to zoom in.+    * Description:​This parameter is the width of the screen.
  
-[[#Public Methods|Go Back]] +  * //​screenHeight//​ 
-=== ZoomIntoCenter(RectangleShape,​Int32,​Single,​Single,​Single,​Single) === +    * Type:Single 
-This method returns an extent that is centered and zoomed in. +    * Description:​This parameter ​is the height ​of the screen.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ToWorldCoordinate(RectangleShape,​Single,​Single,​Single,​Single) ​**
-  ​* **Description**:​This method returns an extent that is centered and zoomed in.+
  
-==== Parameters ==== +  * //This method returns world coordinates from screen coordinates.//​ 
-**worldExtent** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //None//
-  * **Description**:​This parameter is the world extent you want to center and zoom to.+
  
-**percentage** +== Return Value == 
-  ​* **Type**:Int32 +  * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  ​* **Description**:This parameter is the percentage by which you want to zoom in.+  * Description:​This ​method returns world coordinates from screen coordinates.
  
-**screenX** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the screen X you want to center on.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent.
  
-**screenY** +  ​//screenX// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the screen Y you want to center on.+    * Description:​This parameter is the X of the point you want converted ​to world coordinates.
  
-**screenWidth** +  ​//screenY// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the of the point you want converted to world coordinates.
  
-**screenHeight** +  ​//​screenWidth//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height ​of the screen.+    * Description:​This parameter is the width of the screen.
  
-[[#Public Methods|Go Back]] +  * //​screenHeight//​ 
-=== ZoomIntoCenter(RectangleShape,​Int32,​PointShape,​Single,Single) === +    * Type:Single 
-This method returns an extent that is centered and zoomed in. +    * Description:​This parameter ​is the height ​of the screen.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ToWorldCoordinate(RectangleShape,​ScreenPointF,​Single,​Single) ​**
-  ​* **Description**:​This method returns an extent that is centered and zoomed in.+
  
-==== Parameters ==== +  * //This method returns world coordinates from screen coordinates.//​ 
-**worldExtent** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //None//
-  * **Description**:​This parameter is the world extent that you want centered and zoomed to.+
  
-**percentage** +== Return Value == 
-  ​* **Type**:Int32 +  * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
-  ​* **Description**:This parameter is the percentage by which you want to zoom in.+  * Description:​This ​method returns world coordinates from screen coordinates.
  
-**worldPoint** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​worldExtent//​ 
-  * **Description**:This parameter is the world point you want the extent ​to be centered on.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent.
  
-**screenWidth** +  ​//​screenPoint//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-  * **Description**:This parameter is the width in screen ​coordinates.+    * Description:​This parameter is the screen ​point you want converted to a world point.
  
-**screenHeight** +  ​//​screenWidth//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height in screen ​coordinates.+    * Description:​This parameter is the width of the screen.
  
-[[#Public Methods|Go Back]] +  * //​screenHeight//​ 
-=== ZoomIntoCenter(RectangleShape,​Int32,​Feature,​Single,Single) === +    * Type:Single 
-This method returns an extent that is centered and zoomed. +    * Description:​This parameter ​is the height ​of the screen.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} SnapToZoomLevel(RectangleShape,​GeographyUnit,​Single,​Single,​ZoomLevelSet) ​**
-  ​* **Description**:​This method returns an extent that is centered and zoomed in.+
  
-==== Parameters ==== +  * //This method returns an extent that is snapped to a zoom level in the provided zoom level set.// 
-**worldExtent** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //None//
-  * **Description**:​This parameter is the world extent that you want centered and zoomed to.+
  
-**percentage** +== Return Value == 
-  ​* **Type**:Int32 +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter ​is the percentage by which you want to zoom in.+  * Description:​This ​method returns an extent that is snapped ​to zoom level in the provided zoom level set.
  
-**centerFeature** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] +  * //​worldExtent//​ 
-  * **Description**:This parameter is the feature ​you want the extent to be centered on.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent ​you want snapped.
  
-**screenWidth** +  ​//​worldExtentUnit//​ 
-  * **Type**:Single +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Description**:This parameter is the width in screen coordinates.+    * Description:​This parameter is the geographic unit of the world extent parameter.
  
-**screenHeight** +  ​//​screenWidth//​ 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height in screen ​coordinates.+    * Description:​This parameter is the screen ​width.
  
-[[#Public Methods|Go Back]] +  * //​screenHeight//​ 
-=== ZoomIntoOffsetPoint(RectangleShape,​Single,​Single,​ScreenPointF,​Int32) === +    * Type:Single 
-This method returns an extent that is keeping the offsetScreenPoint constant and zoomed. +    * Description:​This parameter ​is the screen ​height.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to afterward call GetDrawingExtent.+
  
-**Return Value** +  ​//​zoomLevelSet//​ 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] 
-  * **Description**:This method returns an extent that is keeping ​the offsetScreenPoint constant and zoomed.+    * Description:​This ​parameter ​is the set of zoom levels you want to snap to.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomToScale(Double,​RectangleShape,​GeographyUnit,​Single,​Single) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the world extent that you want centered and zoomed.+
  
-**screenWidth** +  ​//This method returns a extent that has been zoomed into a certain scale.// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the width in screen coordinates.+  * //None//
  
-**screenHeight** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter is the height in screen coordinates.+  * Description:​This ​method returns a extent that has been zoomed into a certain scale.
  
-**offsetScreenPoint** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +  * //​targetScale//​ 
-  * **Description**:This parameter is the screen point you want to keep it constant.+    ​* Type:Double 
 +    * Description:​This parameter is the scale you want to zoom into.
  
-**percentage** +  ​//​worldExtent//​ 
-  * **Type**:Int32 +    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:This parameter is the percentage ​you want to zoom.+    * Description:​This parameter is the world extent ​you want zoomed into the scale.
  
-[[#Public Methods|Go Back]] +  * //​worldExtentUnit//​ 
-=== ZoomOut(RectangleShape,​Int32) === +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-This method returns a new extent that is zoomed out by the percentage provided. +    * Description:​This parameter ​is the geographic unit of the world extent parameter.
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​screenWidth//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:This method returns a new extent that is zoomed out by the percentage provided.+    * Description:​This ​parameter ​is the screen width.
  
-==== Parameters ==== +  ​//​screenHeight//​ 
-**worldExtent*+    * Type:Single 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Description:​This parameter is the screen height.
-  * **Description**:This parameter is the world extent you want to zoom out to.+
  
-**percentage** +<div newline></​div>​ 
-  * **Type**:Int32 +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomToScale(Double,​RectangleShape,​GeographyUnit,​Single,​Single,​ScreenPointF) ​**
-  ​* **Description**:​This parameter is the percentage by which you want to zoom out.+
  
-[[#Public Methods|Go Back]] +  * //This method returns ​extent that has been zoomed ​into a certain scale.// 
-=== ZoomOutToCenter(RectangleShape,​Int32,​Feature,​Single,​Single) === +== Remarks == 
-This method returns ​an extent that is centered and zoomed ​out+  * //None//
-==== Remarks ​==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This method returns ​an extent that is centered and zoomed ​out.+  * Description:​This method returns ​extent that has been zoomed ​into a certain scale.
  
-==== Parameters ​==== +== Parameters == 
-**worldExtent** +  //​targetScale//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Double 
-  * **Description**:This parameter is the world extent ​you want to center and zoom out to.+    * Description:​This parameter is the scale you want to zoom into.
  
-**percentage** +  ​//​worldExtent//​ 
-  * **Type**:Int32 +    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Description**:This parameter is the percentage by which you want to zoom out.+    * Description:​This parameter is the world extent ​you want zoomed into the scale.
  
-**centerFeature** +  ​//​worldExtentUnit//​ 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.Feature|Feature]] +    * Type:​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Description**:This parameter is the feature you want the extent ​to be centered on.+    * Description:​This parameter is the geographic unit of the world extent ​parameter.
  
-**screenWidth** +  ​//screenWidth// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the screen ​width.
  
-**screenHeight** +  ​//screenHeight// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height ​of the screen.+    * Description:​This parameter is the screen ​height.
  
-[[#Public Methods|Go Back]] +  * //​offsetScreenPoint//​ 
-=== ZoomOutToCenter(RectangleShape,​Int32,​PointShape,​Single,​Single) === +    * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-This method returns an extent that is centered and zoomed out. +    * Description:​This parameter ​is the offsetScreenPoint.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomIntoOffsetPoint(RectangleShape,​Single,​Single,​ScreenPointF,​Int32) ​**
-  ​* **Description**:​This method returns an extent that is centered and zoomed out.+
  
-==== Parameters ==== +  * //This method returns an extent that is keeping the offsetScreenPoint constant and zoomed.// 
-**worldExtent** +== Remarks ​== 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * //The resulting rectangle will already be adjusted for the ratio of the screenYou do not need to afterward call GetDrawingExtent.//
-  * **Description**:​This parameter is the world extent you want to center and zoom out to.+
  
-**percentage** +== Return Value == 
-  ​* **Type**:Int32 +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter ​is the percentage by which you want to zoom out.+  * Description:​This ​method returns an extent that is keeping ​the offsetScreenPoint constant and zoomed.
  
-**worldPoint** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +  * //​worldExtent//​ 
-  * **Description**:This parameter is the world point you want the extent to be centered ​on.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent that you want centered ​and zoomed.
  
-**screenWidth** +  ​//screenWidth// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the width in screen ​coordinates.
  
-**screenHeight** +  ​//screenHeight// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height ​of the screen.+    * Description:​This parameter is the height ​in screen ​coordinates.
  
-[[#Public Methods|Go Back]] +  * //​offsetScreenPoint//​ 
-=== ZoomOutToCenter(RectangleShape,​Int32,​Single,​Single,​Single,​Single) === +    * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-This method returns an extent that is centered and zoomed out. +    * Description:​This parameter ​is the screen ​point you want to keep it constant.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterward.+
  
-**Return Value** +  ​//​percentage//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Int32 
-  * **Description**:This method returns an extent that is centered and zoomed out.+    * Description:​This ​parameter ​is the percentage you want to zoom.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ZoomOutToOffsetPoint(RectangleShape,​Single,​Single,​ScreenPointF,​Int32) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the world extent you want to center and zoom out to.+
  
-**percentage** +  ​//This method returns an extent that is keeping the offsetScreenPoint constant and zoomed.// 
-  * **Type**:​Int32 +== Remarks == 
-  * **Description**:​This parameter is the percentage by which you want to zoom out.+  * //The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to afterward call GetDrawingExtent.//
  
-**screenX** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter ​is the screen X you want to center on.+  * Description:​This ​method returns an extent that is keeping ​the offsetScreenPoint constant and zoomed.
  
-**screenY** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the screen Y you want to center on.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​This parameter is the world extent that you want centered and zoomed.
  
-**screenWidth** +  ​//screenWidth// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the width of the screen.+    * Description:​This parameter is the width in screen ​coordinates.
  
-**screenHeight** +  ​//screenHeight// 
-  * **Type**:Single +    * Type:​Single 
-  * **Description**:This parameter is the height ​of the screen.+    * Description:​This parameter is the height ​in screen ​coordinates.
  
-[[#Public Methods|Go Back]] +  * //​offsetScreenPoint//​ 
-=== ZoomOutToOffsetPoint(RectangleShape,​Single,​Single,​ScreenPointF,​Int32) === +    * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] 
-This method returns an extent that is keeping the offsetScreenPoint constant and zoomed. +    * Description:​This parameter ​is the screen ​point you want to keep it constant.
-==== Remarks ==== +
-The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to afterward call GetDrawingExtent.+
  
-**Return Value** +  ​//​percentage//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Int32 
-  * **Description**:This method returns an extent that is keeping ​the offsetScreenPoint constant and zoomed.+    * Description:​This ​parameter ​is the percentage you want to zoom.
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:PublicMethod.gif|}}{{wiki:​Static.gif|}} ResizeExtent(RectangleShape,​Single,​Single,​Single,​GeographyUnit,​MapResizeMode) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​This parameter is the world extent that you want centered and zoomed.+
  
-**screenWidth** +  ​//This method returns a RectangleShape by resize parameters.//​ 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the width in screen coordinates.+  * //N/A//
  
-**screenHeight** +== Return Value == 
-  ​* **Type**:Single +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Description**:This parameter is the height in screen coordinates.+  * Description:​This ​method returns a RectangleShape by resize parameters.
  
-**offsetScreenPoint** +== Parameters == 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +  * //​sourceExtent//​ 
-  * **Description**:This parameter is the screen point you want to keep it constant.+    ​* Type:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​The rectangle shape before rezise
  
-**percentage** +  ​//​sourceScreenWidth//​ 
-  * **Type**:Int32 +    * Type:Single 
-  * **Description**:This parameter is the percentage you want to zoom.+    * Description:​The width of the source rectangle shape in screen coordinate
  
-[[#Public Methods|Go Back]] +  * //​targetScreenWidth//​ 
-=== ZoomToScale(Double,​RectangleShape,​GeographyUnit,​Single,Single) === +    * Type:Single 
-This method returns a extent that has been zoomed into a certain scale. +    * Description:​The width of the target rectangle shape in screen coordinate
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//​targetScreenHeight//​ 
-  **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Single 
-  * **Description**:This method returns a extent that has been zoomed into a certain scale.+    * Description:​The height of the target rectangle shape in screen coordinate
  
-==== Parameters ==== +  ​//mapUnit// 
-**targetScale*+    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Type**:Double +    * Description:​map unit which this rectangle shape used
-  * **Description**:This parameter is the scale you want to zoom into.+
  
-**worldExtent** +  ​//​resizeType//​ 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:​[[ThinkGeo.MapSuite.Core.MapResizeMode|MapResizeMode]] 
-  * **Description**:This parameter is the world extent you want zoomed into the scale.+    * Description:​Represents resize type which can decide to use which way to resize.
  
-**worldExtentUnit** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +==== Protected Methods ==== 
-  ​* **Description**:​This parameter is the geographic unit of the world extent parameter.+** {{wiki:ProtectedMethod.gif|}} Finalize() ​**
  
-**screenWidth** +  ​//N/A// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​This parameter is the screen width.+  * //N/A//
  
-**screenHeight** +== Return Value == 
-  ​* **Type**:Single +  * Type:Void 
-  ​* **Description**:This parameter is the screen height.+  * Description:​N/A
  
-[[#Public Methods|Go Back]] +== Parameters ​== 
-=== ZoomToScale(Double,​RectangleShape,​GeographyUnit,​Single,​Single,​ScreenPointF) === +<div newline></​div>​ 
-This method returns a extent that has been zoomed into a certain scale. +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
-==== Remarks ==== +
-None+
  
-**Return Value** +  ​//N/A// 
-  * **Return Type**:​[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +== Remarks == 
-  * **Description**:​This method returns a extent that has been zoomed into a certain scale.+  * //N/A//
  
-==== Parameters ==== +== Return Value == 
-**targetScale** +  * Type:Object 
-  ​* **Type**:Double +  * Description:​N/A
-  ​* **Description**:This parameter is the scale you want to zoom into.+
  
-**worldExtent** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +<div newline></​div>​ 
-  ​* **Description**:​This parameter is the world extent you want zoomed into the scale.+** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetStandardDPIScale(RectangleShape,​Single,​GeographyUnit,​Single) ​**
  
-**worldExtentUnit** +  ​//N/A// 
-  * **Type**:​[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +== Remarks == 
-  * **Description**:​This parameter is the geographic unit of the world extent parameter.+  * //N/A//
  
-**screenWidth** +== Return Value == 
-  ​* **Type**:Single +  * Type:Double 
-  ​* **Description**:This parameter is the screen width.+  * Description:​N/A
  
-**screenHeight** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:This parameter is the screen height.+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​N/A
  
-**offsetScreenPoint** +  ​//​screenWidth//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] +    * Type:Single 
-  * **Description**:This parameter is the offsetScreenPoint.+    * Description:​N/A
  
-[[#Public Methods|Go Back]] +  * //​worldExtentUnit//​ 
-===== Protected Methods ===== +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-=== /xU=() === +    * Description:​N/A
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//dpi// 
-  **Return ​Type**:String +    * Type:Single 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-[[#​Protected Methods|Go Back]] +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetSnappedZoomLevelIndex(Double,​Collection<​Double>​**
-=== Finalize() === +
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//N/A// 
-  * **Return Type**:Void +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-==== Parameters ==== +== Return Value == 
-[[#​Protected Methods|Go Back]] +  * Type:Int32 
-=== MemberwiseClone() === +  * Description:​N/A
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Object +  * //scale// 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-==== Parameters ==== +  * //​zoomLevelScales/​
-[[#​Protected Methods|Go Back]] +    * Type:​Collection<​Double>​ 
-=== Qj4=(Double,​RectangleShape,​GeographyUnit,​Single) === +    * Description:​N/A
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +<div newline></​div>​ 
-  * **Return Type**:Int32 +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetSnappedZoomLevelIndex(Double,​Collection<​Double>,​Double,​Double) ​**
-  ​* **Description**:​N/​A+
  
-==== Parameters ==== +  * //N/A// 
-**newWidth** +== Remarks ​== 
-  * **Type**:​Double +  * //N/A//
-  * **Description**:​N/A+
  
-**newTileExtent** +== Return Value == 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * Type:Int32 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-**mapUnit** +== Parameters == 
-  * **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +  * //scale// 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-**dpi** +  ​//​zoomLevelScales//​ 
-  * **Type**:Single +    * Type:Collection<​Double>​ 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +  * //​minimumScale/​
-=== g0M=(RectangleShape,​Single,​GeographyUnit,​Single) === +    * Type:Double 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​maximumScale//​ 
-  **Return ​Type**:Double +    * Type:​Double 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-**worldExtent** +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetSnappedScale(RectangleShape,​Single,​GeographyUnit) ​**
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +
-  ​* **Description**:​N/​A+
  
-**screenWidth** +  ​//N/A// 
-  * **Type**:​Single +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-**worldExtentUnit** +== Return Value == 
-  ​* **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +  * Type:Double 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-**dpi** +== Parameters == 
-  * **Type**:Single +  * //​worldExtent//​ 
-  * **Description**:N/A+    ​* Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
 +    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +  * //​screenWidth/​
-=== hUM=(Double,​Collection<​Double>​) === +    * Type:Single 
-N/A +    * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//​worldExtentUnit//​ 
-  **Return ​Type**:Int32 +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Description**:N/A+    * Description:​N/​A
  
-==== Parameters ==== +<div newline></​div>​ 
-**scale** +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetCurrentZoomLevelNumber(Double,​RectangleShape,​GeographyUnit,​Single) ​**
-  * **Type**:Double +
-  ​* **Description**:​N/​A+
  
-**zoomLevelScales** +  ​//N/A// 
-  * **Type**:​Collection<​Double>​ +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-[[#​Protected Methods|Go Back]] +== Return Value == 
-=== hUM=(Double,​Collection<​Double>,​Double,​Double) === +  * Type:Int32 
-N/A +  * Description:​N/A
-==== Remarks ==== +
-N/A+
  
-**Return Value** +== Parameters == 
-  * **Return ​Type**:Int32 +  * //​newWidth//​ 
-  * **Description**:N/A+    ​* Type:Double 
 +    * Description:​N/​A
  
-==== Parameters ==== +  ​//​newTileExtent//​ 
-**scale*+    * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  * **Type**:Double +    * Description:​N/​A
-  * **Description**:N/A+
  
-**zoomLevelScales** +  ​//mapUnit// 
-  * **Type**:Collection<​Double>​ +    * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] 
-  * **Description**:N/A+    * Description:​N/​A
  
-**minimumScale** +  ​//dpi// 
-  * **Type**:Double +    * Type:Single 
-  * **Description**:N/A+    * Description:​N/​A
  
-**maximumScale** +<div newline></​div>​ 
-  * **Type**:Double +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetStretchedBitmap(Bitmap,​Rectangle,​RectangleF) ​**
-  ​* **Description**:​N/​A+
  
-[[#​Protected Methods|Go Back]] +  * //N/A// 
-=== hkM=(RectangleShape,​Single,​GeographyUnit) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Double +  * Type:Bitmap 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**worldExtent** +  //​originalBitmap//​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +    * Type:Bitmap 
-  * **Description**:N/A+    * Description:​N/​A
  
-**screenWidth** +  ​//​destRect//​ 
-  * **Type**:Single +    * Type:Rectangle 
-  * **Description**:N/A+    * Description:​N/​A
  
-**worldExtentUnit** +  ​//srcRect// 
-  * **Type**:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] +    * Type:RectangleF 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +<div newline></​div>​ 
-=== i0M=(Bitmap,​Rectangle,​RectangleF=== +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetMiniBBox(PointShape**
-N/A +
-==== Remarks ==== +
-N/A+
  
-**Return Value** +  ​//N/A// 
-  * **Return Type**:​Bitmap +== Remarks == 
-  * **Description**:​N/A+  * //N/A//
  
-==== Parameters ==== +== Return Value == 
-**originalBitmap** +  * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] 
-  ​* **Type**:Bitmap +  * Description:​N/​A
-  ​* **Description**:N/A+
  
-**destRect** +== Parameters == 
-  * **Type**:Rectangle +  * //point// 
-  * **Description**:N/A+    ​* Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] 
 +    * Description:​N/​A
  
-**srcRect** +<div newline></​div>​ 
-  * **Type**:RectangleF +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} GetTemporaryFolder() ​**
-  ​* **Description**:​N/​A+
  
-[[#​Protected Methods|Go Back]] +  * //N/A// 
-=== jEM=(PointShape) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] +  * Type:String 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**point** +<div newline></​div>​ 
-  * **Type**:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] +** {{wiki:ProtectedMethod.gif|}}{{wiki:​Static.gif|}} SortWmsParameters(Dictionary<​String,​String>​) ​**
-  ​* **Description**:​N/​A+
  
-[[#​Protected Methods|Go Back]] +  * //N/A// 
-=== jUM=(Dictionary<​String,​String>​) === +== Remarks == 
-N/A +  * //N/A//
-==== Remarks ​==== +
-N/A+
  
-**Return Value** +== Return Value == 
-  * **Return ​Type**:Void +  * Type:Void 
-  ​* **Description**:N/A+  * Description:​N/​A
  
-==== Parameters ​==== +== Parameters == 
-**parameters** +  //parameters// 
-  * **Type**:​Dictionary<​String,​String>​ +    * Type:​Dictionary<​String,​String>​ 
-  * **Description**:N/A+    * Description:​N/​A
  
-[[#​Protected Methods|Go Back]] +<div newline></​div>​ 
-===== Public Properties ​===== +==== Public Properties ==== 
-===== Protected Properties ​===== +==== Protected Properties ==== 
-===== Public Events ​=====+==== Public Events ====
  
thinkgeo.mapsuite.core.extenthelper.1442485718.txt.gz · Last modified: 2015/09/17 10:28 by admin