User Tools

Site Tools


thinkgeo.mapsuite.core.extenthelper

ThinkGeo.MapSuite.Core.ExtentHelper

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This static class exposes a number of helpful methods when dealing with extents.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.ExtentHelper

Members Summary

Public Constructors

Protected Constructors

Public Methods

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

GetDrawingExtent(RectangleShape,Single,Single)

  • This method returns an adjusted extent based on the ratio of the screen width and height.
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
  • Description:This method returns an adjusted extent based on the ratio of the screen width and height.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to adjust for drawing.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

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
  • Description:This method returns an adjusted extent centered on a point.
Parameters
  • worldExtent
    • Description:This parameter is the current extent you want to center.
  • worldPoint
    • Description:This parameter is the world point you want to center on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

CenterAt(RectangleShape,Feature,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
  • Description:This method returns an adjusted extent centered on a point.
Parameters
  • worldExtent
    • Description:This parameter is the current extent you want to center.
  • centerFeature
    • Type:Feature
    • Description:This parameter is the world point you want to center on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

CenterAt(RectangleShape,Single,Single,Single,Single)

  • This method returns an adjusted extent centered on a point.
Remarks
  • None
Return Value
  • Description:This method returns an adjusted extent centered on a point.
Parameters
  • worldExtent
    • Description:This parameter is the current extent you want to center.
  • screenX
    • Type:Single
    • Description:This parameter is the X coordinate on the screen to center on.
  • screenY
    • Type:Single
    • Description:This parameter is the Y coordinate on the screen to center on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,PointShape,PointShape,Single,Single)

  • This method returns the number of pixels between two world points.
Remarks
  • None
Return Value
  • Type:Single
  • Description:This method returns the number of pixels between two world points.
Parameters
  • worldExtent
  • worldPoint1
    • Description:This parameter is the first point – the one you want to measure from.
  • worldPoint2
    • Description:This parameter is the second point – the one you want to measure to.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

GetScreenDistanceBetweenTwoWorldPoints(RectangleShape,Feature,Feature,Single,Single)

  • This method returns the number of pixels between two features.
Remarks
  • None
Return Value
  • Type:Single
  • Description:This method returns the number of pixels between two features.
Parameters
  • worldExtent
  • worldPointFeature1
    • Type:Feature
    • Description:This parameter is the first feature – the one you want to measure from.
  • worldPointFeature2
    • Type:Feature
    • Description:This parameter is the second feature – the one you want to measure to.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,ScreenPointF,ScreenPointF,Single,Single,GeographyUnit,DistanceUnit)

  • This method returns the distance in world units between two screen points.
Remarks
  • None
Return Value
  • Type:Double
  • Description:This method returns the distance in world units between two screen points.
Parameters
  • worldExtent
  • screenPoint1
    • Description:This is the screen point you want to measure from.
  • screenPoint2
    • Description:This is the screen point you want to measure to.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.
  • worldExtentUnit
    • Description:This is the geographic unit of the world extent rectangle.
  • distanceUnit
    • Description:This is the geographic unit you want the result to show in.

GetWorldDistanceBetweenTwoScreenPoints(RectangleShape,Single,Single,Single,Single,Single,Single,GeographyUnit,DistanceUnit)

  • This method returns the distance in world units between two screen points.
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:N/A
Parameters
  • worldExtent
  • screenPoint1X
    • Type:Single
    • Description:This parameter is the X of the point you want to measure from.
  • screenPoint1Y
    • Type:Single
    • Description:This parameter is the Y of the point you want to measure from.
  • screenPoint2X
    • Type:Single
    • Description:This parameter is the X of the point you want to measure to.
  • screenPoint2Y
    • Type:Single
    • Description:This parameter is the Y of the point you want to measure to.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.
  • worldExtentUnit
    • Description:This is the geographic unit of the world extent you passed in.
  • distanceUnit
    • Description:This is the geographic unit you want the result to show in.

GetScale(RectangleShape,Single,GeographyUnit)

  • This method returns the current scale.
Remarks
  • None
Return Value
  • Type:Double
  • Description:This method returns the current scale.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to find the scale for.
  • screenWidth
    • Type:Single
    • Description:This parameter is the screen width.
  • worldExtentUnit
    • Description:This parameter is the unit of the world extent.

GetScale(RectangleShape,Single,GeographyUnit,Single)

  • This method returns the current scale.
Remarks
  • None
Return Value
  • Type:Double
  • Description:This method returns the current scale.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to find the scale for.
  • screenWidth
    • Type:Single
    • Description:This parameter is the screen width.
  • worldExtentUnit
    • Description:This parameter is the unit of the world extent.
  • dpi
    • Type:Single
    • Description:This parameter is the dpi of the world extent.

GetBoundingBoxOfItems(IEnumerable<BaseShape>)

  • This API gets the BoundingBox of a group of BaseShapes.
Remarks
  • N/A
Return Value
  • Description:The BoundingBox that contains all of the shapes you passed in.
Parameters
  • shapes
    • Type:IEnumerable<BaseShape>
    • Description:The target group of BaseShapes to get the BoundingBox for.

GetBoundingBoxOfItems(IEnumerable<Feature>)

  • This API gets the BoundingBox of a group of Features.
Remarks
  • N/A
Return Value
  • Description:The BoundingBox that contains all the features you passed in.
Parameters
  • features
    • Type:IEnumerable<Feature>
    • Description:The target group of Features to get the BoundingBox for.

ZoomIn(RectangleShape,Int32)

  • This method returns a new extent that is zoomed in by the percentage provided.
Remarks
  • None
Return Value
  • Description:This method returns a new extent that is zoomed in by the percentage provided.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to zoom to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom in.

ZoomIntoCenter(RectangleShape,Int32,PointShape,Single,Single)

  • This method returns an extent that is centered and zoomed in.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Value
  • Description:This method returns an extent that is centered and zoomed in.
Parameters
  • worldExtent
    • Description:This parameter is the world extent that you want centered and zoomed to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom in.
  • worldPoint
    • Description:This parameter is the world point you want the extent to be centered on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width in screen coordinates.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height in screen coordinates.

ZoomIntoCenter(RectangleShape,Int32,Feature,Single,Single)

  • This method returns an extent that is centered and zoomed.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Value
  • Description:This method returns an extent that is centered and zoomed in.
Parameters
  • worldExtent
    • Description:This parameter is the world extent that you want centered and zoomed to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom in.
  • centerFeature
    • Type:Feature
    • Description:This parameter is the feature you want the extent to be centered on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width in screen coordinates.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height in screen coordinates.

ZoomIntoCenter(RectangleShape,Int32,Single,Single,Single,Single)

  • This method returns an extent that is centered and zoomed in.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Value
  • Description:This method returns an extent that is centered and zoomed in.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to center and zoom to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom in.
  • screenX
    • Type:Single
    • Description:This parameter is the screen X you want to center on.
  • screenY
    • Type:Single
    • Description:This parameter is the screen Y you want to center on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ZoomOut(RectangleShape,Int32)

  • This method returns a new extent that is zoomed out by the percentage provided.
Remarks
  • None
Return Value
  • Description:This method returns a new extent that is zoomed out by the percentage provided.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to zoom out to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom out.

ZoomOutToCenter(RectangleShape,Int32,PointShape,Single,Single)

  • This method returns an extent that is centered and zoomed out.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Value
  • Description:This method returns an extent that is centered and zoomed out.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to center and zoom out to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom out.
  • worldPoint
    • Description:This parameter is the world point you want the extent to be centered on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ZoomOutToCenter(RectangleShape,Int32,Feature,Single,Single)

  • This method returns an extent that is centered and zoomed out.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterwards.
Return Value
  • Description:This method returns an extent that is centered and zoomed out.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to center and zoom out to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom out.
  • centerFeature
    • Type:Feature
    • Description:This parameter is the feature you want the extent to be centered on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ZoomOutToCenter(RectangleShape,Int32,Single,Single,Single,Single)

  • This method returns an extent that is centered and zoomed out.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to call GetDrawingExtent afterward.
Return Value
  • Description:This method returns an extent that is centered and zoomed out.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to center and zoom out to.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to zoom out.
  • screenX
    • Type:Single
    • Description:This parameter is the screen X you want to center on.
  • screenY
    • Type:Single
    • Description:This parameter is the screen Y you want to center on.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

Pan(RectangleShape,PanDirection,Int32)

  • This method returns a panned extent.
Remarks
  • None
Return Value
  • Description:This method returns a panned extent.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to pan.
  • direction
    • Description:This parameter is the direction in which you want to pan.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to pan.

Pan(RectangleShape,Single,Int32)

  • This method returns a panned extent.
Remarks
  • None
Return Value
  • Description:This method returns a panned extent.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want to pan.
  • degree
    • Type:Single
    • Description:This parameter is the degree you want to pan.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage by which you want to pan.

ToScreenCoordinate(RectangleShape,Double,Double,Single,Single)

  • This method returns screen coordinates from world coordinates.
Remarks
  • None
Return Value
  • Description:This method returns screen coordinates from world coordinates.
Parameters
  • worldExtent
  • worldX
    • Type:Double
    • Description:This parameter is the world X you want converted to screen points.
  • worldY
    • Type:Double
    • Description:This parameter is the world Y you want converted to screen points.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ToScreenCoordinate(RectangleShape,RectangleShape,Single,Single)

  • This method returns Rectangle in screen coordinates from RectangleShape in world coordinates.
Remarks
  • None
Return Value
  • Type:Rectangle
  • Description:This method returns Rectangle in screen coordinates from RectangleShape in world coordinates.
Parameters
  • worldExtent
  • targetExtent
    • Description:This parameter is the rectangle shape in world coordinate you want converted to a rectangle in screen coordinate.
  • currentExtentWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • currentExtentHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ToScreenCoordinate(RectangleShape,PointShape,Single,Single)

  • This method returns screen coordinates from world coordinates.
Remarks
  • None
Return Value
  • Description:This method returns screen coordinates from world coordinates.
Parameters
  • worldExtent
  • worldPoint
    • Description:This parameter is the world point you want converted to a screen point.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ToScreenCoordinate(RectangleShape,Feature,Single,Single)

  • This method returns screen coordinates from world coordinates.
Remarks
  • None
Return Value
  • Description:This method returns screen coordinates from world coordinates.
Parameters
  • worldExtent
  • worldPointFeature
    • Type:Feature
    • Description:This parameter is the feature you want converted to a screen point.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ToWorldCoordinate(RectangleShape,Single,Single,Single,Single)

  • This method returns world coordinates from screen coordinates.
Remarks
  • None
Return Value
  • Description:This method returns world coordinates from screen coordinates.
Parameters
  • worldExtent
  • screenX
    • Type:Single
    • Description:This parameter is the X of the point you want converted to world coordinates.
  • screenY
    • Type:Single
    • Description:This parameter is the Y of the point you want converted to world coordinates.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

ToWorldCoordinate(RectangleShape,ScreenPointF,Single,Single)

  • This method returns world coordinates from screen coordinates.
Remarks
  • None
Return Value
  • Description:This method returns world coordinates from screen coordinates.
Parameters
  • worldExtent
  • screenPoint
    • Description:This parameter is the screen point you want converted to a world point.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width of the screen.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height of the screen.

SnapToZoomLevel(RectangleShape,GeographyUnit,Single,Single,ZoomLevelSet)

  • This method returns an extent that is snapped to a zoom level in the provided zoom level set.
Remarks
  • None
Return Value
  • Description:This method returns an extent that is snapped to a zoom level in the provided zoom level set.
Parameters
  • worldExtent
    • Description:This parameter is the world extent you want snapped.
  • worldExtentUnit
    • Description:This parameter is the geographic unit of the world extent parameter.
  • screenWidth
    • Type:Single
    • Description:This parameter is the screen width.
  • screenHeight
    • Type:Single
    • Description:This parameter is the screen height.
  • zoomLevelSet
    • Description:This parameter is the set of zoom levels you want to snap to.

ZoomToScale(Double,RectangleShape,GeographyUnit,Single,Single)

  • This method returns a extent that has been zoomed into a certain scale.
Remarks
  • None
Return Value
  • Description:This method returns a extent that has been zoomed into a certain scale.
Parameters
  • targetScale
    • Type:Double
    • Description:This parameter is the scale you want to zoom into.
  • worldExtent
    • Description:This parameter is the world extent you want zoomed into the scale.
  • worldExtentUnit
    • Description:This parameter is the geographic unit of the world extent parameter.
  • screenWidth
    • Type:Single
    • Description:This parameter is the screen width.
  • screenHeight
    • Type:Single
    • Description:This parameter is the screen height.

ZoomToScale(Double,RectangleShape,GeographyUnit,Single,Single,ScreenPointF)

  • This method returns a extent that has been zoomed into a certain scale.
Remarks
  • None
Return Value
  • Description:This method returns a extent that has been zoomed into a certain scale.
Parameters
  • targetScale
    • Type:Double
    • Description:This parameter is the scale you want to zoom into.
  • worldExtent
    • Description:This parameter is the world extent you want zoomed into the scale.
  • worldExtentUnit
    • Description:This parameter is the geographic unit of the world extent parameter.
  • screenWidth
    • Type:Single
    • Description:This parameter is the screen width.
  • screenHeight
    • Type:Single
    • Description:This parameter is the screen height.
  • offsetScreenPoint
    • Description:This parameter is the offsetScreenPoint.

ZoomIntoOffsetPoint(RectangleShape,Single,Single,ScreenPointF,Int32)

  • This method returns an extent that is keeping the offsetScreenPoint constant and zoomed.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to afterward call GetDrawingExtent.
Return Value
  • Description:This method returns an extent that is keeping the offsetScreenPoint constant and zoomed.
Parameters
  • worldExtent
    • Description:This parameter is the world extent that you want centered and zoomed.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width in screen coordinates.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height in screen coordinates.
  • offsetScreenPoint
    • Description:This parameter is the screen point you want to keep it constant.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage you want to zoom.

ZoomOutToOffsetPoint(RectangleShape,Single,Single,ScreenPointF,Int32)

  • This method returns an extent that is keeping the offsetScreenPoint constant and zoomed.
Remarks
  • The resulting rectangle will already be adjusted for the ratio of the screen. You do not need to afterward call GetDrawingExtent.
Return Value
  • Description:This method returns an extent that is keeping the offsetScreenPoint constant and zoomed.
Parameters
  • worldExtent
    • Description:This parameter is the world extent that you want centered and zoomed.
  • screenWidth
    • Type:Single
    • Description:This parameter is the width in screen coordinates.
  • screenHeight
    • Type:Single
    • Description:This parameter is the height in screen coordinates.
  • offsetScreenPoint
    • Description:This parameter is the screen point you want to keep it constant.
  • percentage
    • Type:Int32
    • Description:This parameter is the percentage you want to zoom.

ResizeExtent(RectangleShape,Single,Single,Single,GeographyUnit,MapResizeMode)

  • This method returns a RectangleShape by resize parameters.
Remarks
  • N/A
Return Value
  • Description:This method returns a RectangleShape by resize parameters.
Parameters
  • sourceExtent
  • sourceScreenWidth
    • Type:Single
    • Description:The width of the source rectangle shape in screen coordinate
  • targetScreenWidth
    • Type:Single
    • Description:The width of the target rectangle shape in screen coordinate
  • targetScreenHeight
    • Type:Single
    • Description:The height of the target rectangle shape in screen coordinate
  • mapUnit
    • Description:map unit which this rectangle shape used
  • resizeType
    • Description:Represents resize type which can decide to use which way to resize.

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

GetStandardDPIScale(RectangleShape,Single,GeographyUnit,Single)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:N/A
Parameters
  • screenWidth
    • Type:Single
    • Description:N/A
  • dpi
    • Type:Single
    • Description:N/A

GetSnappedZoomLevelIndex(Double,Collection<Double>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • scale
    • Type:Double
    • Description:N/A
  • zoomLevelScales
    • Type:Collection<Double>
    • Description:N/A

GetSnappedZoomLevelIndex(Double,Collection<Double>,Double,Double)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • scale
    • Type:Double
    • Description:N/A
  • zoomLevelScales
    • Type:Collection<Double>
    • Description:N/A
  • minimumScale
    • Type:Double
    • Description:N/A
  • maximumScale
    • Type:Double
    • Description:N/A

GetSnappedScale(RectangleShape,Single,GeographyUnit)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double
  • Description:N/A
Parameters
  • screenWidth
    • Type:Single
    • Description:N/A

GetCurrentZoomLevelNumber(Double,RectangleShape,GeographyUnit,Single)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters
  • newWidth
    • Type:Double
    • Description:N/A
  • dpi
    • Type:Single
    • Description:N/A

GetStretchedBitmap(Bitmap,Rectangle,RectangleF)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Bitmap
  • Description:N/A
Parameters
  • originalBitmap
    • Type:Bitmap
    • Description:N/A
  • destRect
    • Type:Rectangle
    • Description:N/A
  • srcRect
    • Type:RectangleF
    • Description:N/A

GetMiniBBox(PointShape)

  • N/A
Remarks
  • N/A
Return Value
Parameters

GetTemporaryFolder()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

SortWmsParameters(Dictionary<String,String>)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • parameters
    • Type:Dictionary<String,String>
    • Description:N/A

Public Properties

Protected Properties

Public Events

thinkgeo.mapsuite.core.extenthelper.txt · Last modified: 2017/03/16 21:59 (external edit)