ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
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.
None
Use this method to clear the GeoCanvas.
This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.
This method is typically used for labeling, to determine whether labels overlap.
BeginDrawing(Object,RectangleShape,GeographyUnit)
This method begins the act of drawing on the GeoCanvas.
This is the first method that needs to be called before any drawing takes place. Calling this method will set the IsDrawing property to true. When you finish drawing, you must call EndDrawing to commit the changes to the image.
This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method ends drawing and commits the drawing on the GeoCanvas.
This method should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception.
GetStreamFromGeoImage(GeoImage)
Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class.
N/A
This method flush drawing and commits the drawing on the GeoCanvas.
This method should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(AreaBaseShape,GeoPen,DrawingLevel)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(Feature,GeoBrush,DrawingLevel)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(AreaBaseShape,GeoBrush,DrawingLevel)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel,Double,Double,PenBrushDrawingOrder)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawArea(IEnumerable<ScreenPoint[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawLine(Feature,GeoPen,DrawingLevel)
Draws a line on the GeoCanvas.
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
DrawLine(LineBaseShape,GeoPen,DrawingLevel)
Draws a line on the GeoCanvas.
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
DrawLine(Feature,GeoPen,DrawingLevel,Single,Single)
Draws a line on the GeoCanvas.
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
DrawLine(LineBaseShape,GeoPen,DrawingLevel,Single,Single)
Draws a line on the GeoCanvas.
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
DrawLine(IEnumerable<ScreenPoint>,GeoPen,DrawingLevel,Single,Single)
Draws the LineShape on the GeoCanvas.
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
DrawEllipse(Feature,Single,Single,GeoPen,DrawingLevel)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(PointBaseShape,Single,Single,GeoPen,DrawingLevel)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(Feature,Single,Single,GeoBrush,DrawingLevel)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(PointBaseShape,Single,Single,GeoBrush,DrawingLevel)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawEllipse(ScreenPoint,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel)
Draws an unscaled image on the GeoCanvas.
Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn.
DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel,Single,Single,Single)
Draws an unscaled image on the GeoCanvas.
Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn.
DrawScreenImageWithoutScaling(GeoImage,Single,Single,DrawingLevel,Single,Single,Single)
Draws an unscaled image on the GeoCanvas.
Drawing an image unscaled is faster than using the API that scales it.The X & Y in work coordinates is where the center of the image will be drawn.
DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel)
Draws a scaled image on the GeoCanvas.
Drawing an image scaled is slower than using the API that draws it unscaled.
DrawWorldImage(GeoImage,Double,Double,Double,DrawingLevel,Single,Single,Single)
Draws a world image on the GeoCanvas.
Drawing an image scaled is slower than using the API that draws it unscaled.
DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel,Single,Single,Single)
Draws a world image on the GeoCanvas.
Drawing an image scaled is slower than using the API that draws it unscaled.
DrawScreenImage(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single)
Draws a screen image on the GeoCanvas.
Drawing an image scaled is slower than using the API that draws it unscaled.
DrawTextWithScreenCoordinate(String,GeoFont,GeoBrush,Single,Single,DrawingLevel)
This method allows you to draw text at the specified location, using the specified brush and font parameters.
This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc.The DrawingLevel allows you to specify the level you will draw on when drawing multiple text items. This is very useful when you want to draw a drop shadow, for example. You can draw the black backdrop on the lowest level with an offset, then draw the normal text on a higher level without an offset.
DrawTextWithWorldCoordinate(String,GeoFont,GeoBrush,Double,Double,DrawingLevel)
This method allows you to draw text at the specified location, using the specified brush and font parameters.
This method is used to draw text on the GeoCanvas at specific screen coordinates. It provides you with a number of overloads that allow you to control how the text is drawn. This is useful especially when adding things such as legends, titles, etc.The DrawingLevel allows you to specify the level you will draw on when drawing multiple text items. This is very useful when you want to draw a drop shadow, for example. You can draw the black backdrop on the lowest level with an offset, then draw the normal text on a higher level without an offset.
DrawText(String,GeoFont,GeoBrush,IEnumerable<ScreenPoint>,DrawingLevel)
This method allows you to draw text at the specified location, using the specified brush and font parameters.
N/A
DrawText(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPoint>,DrawingLevel,Single,Single,Single)
This method allows you to draw text at the specified location, using the specified brush and font parameters.
N/A
N/A
N/A
N/A
N/A
N/A
Use this method to clear the GeoCanvas.This method is designed to be overridden by the deriving class.
MeasureTextCore(String,GeoFont)
This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.
This method is typically used for labeling, to determine whether labels overlap.
BeginDrawingCore(Object,RectangleShape,GeographyUnit)
This method begins the act of drawing on the GeoCanvas.
This is the first method that needs to be called before any drawing takes place. Calling this method will set the IsDrawing property to true. When you finish drawing, you must call EndDrawing to commit the changes to the image.
This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.
This method is a BaseClass API and will be used in its sub-concrete classes.
This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method gets the canvas width of the passed-in native image object.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method gets the canvas width of the passed-in native image object.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method gets the canvas height of the passed-in native image object.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method gets the canvas height of the passed-in native image object.
This method is a BaseClass API and will be implemented and used in its sub-concrete classes.
This method ends drawing and commits the drawing on the GeoCanvas.
This methods should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception.
This method should be called when you are finished drawing. It will commit the image changes to the image you passed in on BeginDrawing. It will also set IsDrawing to false. After you call this method it will put the GeoCanvas into an invalid state, so if you then call any drawing methods it will raise an exception.
N/A
DrawAreaCore(IEnumerable<ScreenPoint[]>,GeoPen,GeoBrush,DrawingLevel,Double,Double,PenBrushDrawingOrder)
This method draws an area on the GeoCanvas.
This method is used to draw on the GeoCanvas. It provides you with a number of overloads that allow you to control how things are drawn. Specify the GeoBrush to fill in an area. Specify the GeoPen to outline an area using that GeoPen. You can also call an overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when you are drawing multiple areas. This is very useful when you want to draw a drop shadow, for example. In that case, you could draw the black backdrop on the lowest level with an offset, then draw the normal shape on a higher level without an offset.
DrawLineCore(IEnumerable<ScreenPoint>,GeoPen,DrawingLevel,Single,Single)
Draws the LineShape on the GeoCanvas.
This method is used to draw a line on the GeoCanvas using the specified GeoPen.The DrawingLevel allows you to specify the level you will draw on when drawing multiple lines. This is very useful when you want to draw a road, for example. You can draw the black background on the lowest level, then draw a slightly thinner white line on a higher level. This will result in a great effect for a road.
DrawEllipseCore(ScreenPoint,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)
Draws a point on the GeoCanvas.
This method is used to draw a point on the GeoCanvas. It provides you with a number of overloads that allow you to control how it is drawn. Specify the GeoBrush to fill in the area of the point. Specify the GeoPen to outline the point using that GeoPen. You can also call a overload that will allow you to specify both a GeoPen and a GeoBrush.The DrawingLevel allows you to specify the level you will draw on when drawing many points.
DrawScreenImageWithoutScalingCore(GeoImage,Single,Single,DrawingLevel,Single,Single,Single)
Draws an unscaled image on the GeoCanvas.
Drawing an image unscaled is faster than using the API that scales it.
DrawScreenImageCore(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single)
Draws a scaled image on the GeoCanvas.
Drawing an image scaled is slower than using the API that draws it unscaled.
DrawTextCore(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPoint>,DrawingLevel,Single,Single,Single)
This method allows you to draw text at the specified location, using the specified brush and font parameters.
This method is used to draw text on the GeoCanvas.The DrawingLevel allows you to specify the level you will draw on when drawing multiple text items. This is very useful when you want to draw a drop shadow, for example. You can draw the black backdrop on the lowest level with an offset, then draw the normal text on a higher level without an offset.
N/A
N/A
N/A
N/A
N/A
This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas.
N/A
This property reflects the width of the canvas image that was passed in on BeginDrawing.
This property reflects the height of the canvas image that was passed in on BeginDrawing.
This property gets the adjusted current extent based on what was set when BeginDrawing was called.
The extent that gets passed in on BeginDrawing is adjusted for the height and width of the physical media being drawn on. For example if the current extent is wider than taller but the bitmap being drawn on is square then the current extent needs to be adjusted. The extent will be adjusted larger so that we ensure that the entire original extent will still be represented.
The same reference to the parameter 'nativeImage' in BeginDrawing function.
N/A
This property is set to true when the BeginDrawing method is called, and false after the EndDrawing method is called.
N/A
N/A
N/A
Event Arguments:DrawingProgressChangedEventArgs