Table of Contents

ThinkGeo.MapSuite.SilverlightCore.GeoCanvas

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.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

GeoCanvas()

This method is the default constructor for the GeoCanvas.

Remarks

None

Parameters

Public Methods

Clear(GeoBrush)

This method clears the current GeoCanvas using the color specified.

Remarks

Use this method to clear the GeoCanvas.

Return Value
Parameters

MeasureText(String,GeoFont)

This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.

Remarks

This method is typically used for labeling, to determine whether labels overlap.

Return Value
Parameters

BeginDrawing(Object,RectangleShape,GeographyUnit)

This method begins the act of drawing on the GeoCanvas.

Remarks

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.

Return Value
Parameters

ToNativeImage(GeoImage)

This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

ToGeoImage(Object)

This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

EndDrawing()

This method ends drawing and commits the drawing on the GeoCanvas.

Remarks

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.

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

Flush()

This method flush drawing and commits the drawing on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(Feature,GeoPen,DrawingLevel)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(AreaBaseShape,GeoPen,DrawingLevel)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(Feature,GeoBrush,DrawingLevel)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(AreaBaseShape,GeoBrush,DrawingLevel)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel,Double,Double,PenBrushDrawingOrder)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawArea(IEnumerable<ScreenPoint[]>,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawLine(Feature,GeoPen,DrawingLevel)

Draws a line on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawLine(LineBaseShape,GeoPen,DrawingLevel)

Draws a line on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawLine(Feature,GeoPen,DrawingLevel,Single,Single)

Draws a line on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawLine(LineBaseShape,GeoPen,DrawingLevel,Single,Single)

Draws a line on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawLine(IEnumerable<ScreenPoint>,GeoPen,DrawingLevel,Single,Single)

Draws the LineShape on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(Feature,Single,Single,GeoPen,DrawingLevel)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(PointBaseShape,Single,Single,GeoPen,DrawingLevel)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(Feature,Single,Single,GeoBrush,DrawingLevel)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(PointBaseShape,Single,Single,GeoBrush,DrawingLevel)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(Feature,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(PointBaseShape,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipse(ScreenPoint,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel)

Draws an unscaled image on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel,Single,Single,Single)

Draws an unscaled image on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawScreenImageWithoutScaling(GeoImage,Single,Single,DrawingLevel,Single,Single,Single)

Draws an unscaled image on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel)

Draws a scaled image on the GeoCanvas.

Remarks

Drawing an image scaled is slower than using the API that draws it unscaled.

Return Value
Parameters

DrawWorldImage(GeoImage,Double,Double,Double,DrawingLevel,Single,Single,Single)

Draws a world image on the GeoCanvas.

Remarks

Drawing an image scaled is slower than using the API that draws it unscaled.

Return Value
Parameters

DrawWorldImage(GeoImage,Double,Double,Single,Single,DrawingLevel,Single,Single,Single)

Draws a world image on the GeoCanvas.

Remarks

Drawing an image scaled is slower than using the API that draws it unscaled.

Return Value
Parameters

DrawScreenImage(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single)

Draws a screen image on the GeoCanvas.

Remarks

Drawing an image scaled is slower than using the API that draws it unscaled.

Return Value
Parameters

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.

Remarks

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.

Return Value
Parameters

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.

Remarks

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.

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

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.

Remarks

N/A

Return Value
Parameters

ToString()

N/A

Remarks

N/A

Return Value
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
Parameters

GetHashCode()

N/A

Remarks

N/A

Return Value
Parameters

GetType()

N/A

Remarks

N/A

Return Value
Parameters

Protected Methods

ClearCore(GeoBrush)

This method clears the current GeoCanvas using the color specified.

Remarks

Use this method to clear the GeoCanvas.This method is designed to be overridden by the deriving class.

Return Value
Parameters

MeasureTextCore(String,GeoFont)

This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.

Remarks

This method is typically used for labeling, to determine whether labels overlap.

Return Value
Parameters

BeginDrawingCore(Object,RectangleShape,GeographyUnit)

This method begins the act of drawing on the GeoCanvas.

Remarks

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.

Return Value
Parameters

ToNativeImageCore(GeoImage)

This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often a Bitmap.

Remarks

This method is a BaseClass API and will be used in its sub-concrete classes.

Return Value
Parameters

ToGeoImageCore(Object)

This method converts an oboject to a GeoImage. In GdiPlus, this object is often a Bitmap.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

GetCanvasWidth(Object)

This method gets the canvas width of the passed-in native image object.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

GetCanvasWidthCore(Object)

This method gets the canvas width of the passed-in native image object.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

GetCanvasHeight(Object)

This method gets the canvas height of the passed-in native image object.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

GetCanvasHeightCore(Object)

This method gets the canvas height of the passed-in native image object.

Remarks

This method is a BaseClass API and will be implemented and used in its sub-concrete classes.

Return Value
Parameters

EndDrawingCore()

This method ends drawing and commits the drawing on the GeoCanvas.

Remarks

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.

Return Value
Parameters

FlushCore()

This method flush drawing and commits the drawing on the GeoCanvas.

Remarks

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.

Return Value
Parameters

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

N/A

Remarks

N/A

Return Value
Parameters

DrawAreaCore(IEnumerable<ScreenPoint[]>,GeoPen,GeoBrush,DrawingLevel,Double,Double,PenBrushDrawingOrder)

This method draws an area on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawLineCore(IEnumerable<ScreenPoint>,GeoPen,DrawingLevel,Single,Single)

Draws the LineShape on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawEllipseCore(ScreenPoint,Single,Single,GeoPen,GeoBrush,DrawingLevel,Single,Single,PenBrushDrawingOrder)

Draws a point on the GeoCanvas.

Remarks

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.

Return Value
Parameters

DrawScreenImageWithoutScalingCore(GeoImage,Single,Single,DrawingLevel,Single,Single,Single)

Draws an unscaled image on the GeoCanvas.

Remarks

Drawing an image unscaled is faster than using the API that scales it.

Return Value
Parameters

DrawScreenImageCore(GeoImage,Single,Single,Single,Single,DrawingLevel,Single,Single,Single)

Draws a scaled image on the GeoCanvas.

Remarks

Drawing an image scaled is slower than using the API that draws it unscaled.

Return Value
Parameters

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.

Remarks

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.

Return Value
Parameters

7Bk=(DrawingRectangleF)

N/A

Remarks

N/A

Return Value
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
Parameters

Public Properties

Dpi

N/A

Remarks

N/A

Return Value

MapUnit

This property returns the MapUnit passed in on the BeginDrawingAPI in the GeoCanvas.

Remarks

N/A

Return Value

Width

This property gets the width of the canvas.

Remarks

This property reflects the width of the canvas image that was passed in on BeginDrawing.

Return Value

Height

This property gets the height of the canvas.

Remarks

This property reflects the height of the canvas image that was passed in on BeginDrawing.

Return Value

CurrentWorldExtent

This property gets the adjusted current extent based on what was set when BeginDrawing was called.

Remarks

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.

Return Value

NativeImage

The same reference to the parameter 'nativeImage' in BeginDrawing function.

Remarks

N/A

Return Value

IsDrawing

This property gets the drawing status of the GeoCanvas.

Remarks

This property is set to true when the BeginDrawing method is called, and false after the EndDrawing method is called.

Return Value

Protected Properties

4xk=

N/A

Remarks

N/A

Return Value

5hk=

N/A

Remarks

N/A

Return Value

Public Events

DrawingProgressChanged N/A

Remarks

N/A

Event Arguments:DrawingProgressChangedEventArgs