User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.wpfgeocanvas

This is an old revision of the document!


Table of Contents

ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoCanvas

<!– Class –> This class represents a GeoCanvas to draw by Wpf Shape objects.

Remarks

For the most updated Info for this topic, please check it here:<a href=“http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoCanvas” target=“_blank”>http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoCanvas</a>

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodWpfGeoCanvas Constructor of the WpfGeoCanvas class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodBeginDrawing Object, RectangleShape, GeographyUnit GeoCanvas
Public MethodClear GeoBrush GeoCanvas
Public MethodCloneDeep GeoCanvas
Public MethodDrawArea Feature, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawArea AreaBaseShape, GeoPen, DrawingLevel GeoCanvas
Public MethodDrawArea Feature, GeoPen, DrawingLevel GeoCanvas
Public MethodDrawArea AreaBaseShape, GeoPen, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawArea Feature, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas
Public MethodDrawArea AreaBaseShape, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas
Public MethodDrawArea IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas
Public MethodDrawArea AreaBaseShape, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawArea Feature, GeoPen, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawEllipse Feature, Single, Single, GeoPen, DrawingLevel GeoCanvas
Public MethodDrawEllipse Feature, Single, Single, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawEllipse PointBaseShape, Single, Single, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawEllipse Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawEllipse PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel GeoCanvas
Public MethodDrawEllipse Feature, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas
Public MethodDrawEllipse PointBaseShape, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas
Public MethodDrawEllipse ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas
Public MethodDrawEllipse PointBaseShape, Single, Single, GeoPen, DrawingLevel GeoCanvas
Public MethodDrawLine Feature, GeoPen, DrawingLevel GeoCanvas
Public MethodDrawLine LineBaseShape, GeoPen, DrawingLevel GeoCanvas
Public MethodDrawLine Feature, GeoPen, DrawingLevel, Single, Single GeoCanvas
Public MethodDrawLine LineBaseShape, GeoPen, DrawingLevel, Single, Single GeoCanvas
Public MethodDrawLine IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single GeoCanvas
Public MethodDrawScreenImage GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single GeoCanvas
Public MethodDrawScreenImageWithoutScaling GeoImage, Single, Single, DrawingLevel, Single, Single, Single GeoCanvas
Public MethodDrawText String, GeoFont, GeoBrush, IEnumerable<ScreenPointF>, DrawingLevel GeoCanvas
Public MethodDrawText String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single GeoCanvas
Public MethodDrawTextWithScreenCoordinate String, GeoFont, GeoBrush, GeoPen, Single, Single, DrawingLevel GeoCanvas
Public MethodDrawTextWithScreenCoordinate String, GeoFont, GeoBrush, Single, Single, DrawingLevel GeoCanvas
Public MethodDrawTextWithWorldCoordinate String, GeoFont, GeoBrush, GeoPen, Double, Double, DrawingLevel GeoCanvas
Public MethodDrawTextWithWorldCoordinate String, GeoFont, GeoBrush, Double, Double, DrawingLevel GeoCanvas
Public MethodDrawWorldImage GeoImage, Double, Double, Single, Single, DrawingLevel GeoCanvas
Public MethodDrawWorldImage GeoImage, Double, Double, Double, DrawingLevel, Single, Single, Single GeoCanvas
Public MethodDrawWorldImage GeoImage, Double, Double, Single, Single, DrawingLevel, Single, Single, Single GeoCanvas
Public MethodDrawWorldImageWithoutScaling GeoImage, Double, Double, DrawingLevel GeoCanvas
Public MethodDrawWorldImageWithoutScaling GeoImage, Double, Double, DrawingLevel, Single, Single, Single GeoCanvas
Public MethodEndDrawing GeoCanvas
Public MethodEquals Object Object
Public MethodFlush GeoCanvas
Public MethodGetHashCode Object
Public MethodGetStreamFromGeoImage GeoImage GeoCanvas(overriden) Get the stream from the passed-in GeoImage. This API is an abstract API and will be implemented in each concrete sub-class.
Public MethodGetType Object
Public MethodMeasureText String, GeoFont GeoCanvas
Public MethodToGeoImage Object GeoCanvas
Public MethodToNativeImage GeoImage GeoCanvas
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodBeginDrawingCore Object, RectangleShape, GeographyUnit GeoCanvas(overriden) Prepare parameters for drawing with Shape objects.
Protected MethodClearCore GeoBrush GeoCanvas
Protected MethodCloneDeepCore GeoCanvas
Protected MethodDrawAreaCore IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas(overriden) Draws an area with GeoCanvas.
Protected MethodDrawEllipseCore ScreenPointF, Single, Single, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder GeoCanvas(overriden) Draws an ellipse with GeoCanvas.
Protected MethodDrawLineCore IEnumerable<ScreenPointF>, GeoPen, DrawingLevel, Single, Single GeoCanvas(overriden) Draws a line with GeoCanvas.
Protected MethodDrawScreenImageCore GeoImage, Single, Single, Single, Single, DrawingLevel, Single, Single, Single GeoCanvas(overriden) Draws an image with specified screen with and height.
Protected MethodDrawScreenImageWithoutScalingCore GeoImage, Single, Single, DrawingLevel, Single, Single, Single GeoCanvas(overriden) Draws an image without scaling.
Protected MethodDrawTextCore String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single GeoCanvas(overriden) Draws text with GeoCanvas.
Protected MethodEndDrawingCore GeoCanvas
Protected MethodFinalize Object
Protected MethodFlushCore GeoCanvas(overriden) This method flush drawing and commits the drawing on the GeoCanvas.
Protected MethodGetCanvasHeight Object GeoCanvas
Protected MethodGetCanvasHeightCore Object GeoCanvas(overriden) This method gets the canvas height of the passed-in native image object.
Protected MethodGetCanvasWidth Object GeoCanvas
Protected MethodGetCanvasWidthCore Object GeoCanvas(overriden) This method gets the canvas width of the passed-in native image object.
Protected MethodMeasureTextCore String, GeoFont GeoCanvas(overriden) This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.
Protected MethodMemberwiseClone Object
Protected MethodOnDrawingProgressChanged DrawingProgressChangedEventArgs GeoCanvas
Protected MethodToGeoImageCore Object GeoCanvas(overriden) This method will throw NotImplementedException.
Protected MethodToNativeImageCore GeoImage GeoCanvas(overriden) This method will throw NotImplementedException.

Public Properties

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary
Public EventDrawingProgressChanged DrawingProgressChangedEventArgs GeoCanvas

Public Constructors

WpfGeoCanvas()

Constructor of the WpfGeoCanvas class.

Remarks

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

BeginDrawing(Object, RectangleShape, GeographyUnit)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
nativeImage Object<!– System.Object –>
worldExtent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>
drawingMapUnit GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Clear(GeoBrush)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

CloneDeep()

Remarks

Return Value

Return Type Description
GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawArea(Feature, GeoBrush, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawArea(AreaBaseShape, GeoPen, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape AreaBaseShape<!– ThinkGeo.MapSuite.Core.AreaBaseShape –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawArea(Feature, GeoPen, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawArea(AreaBaseShape, GeoPen, GeoBrush, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape AreaBaseShape<!– ThinkGeo.MapSuite.Core.AreaBaseShape –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape AreaBaseShape<!– ThinkGeo.MapSuite.Core.AreaBaseShape –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenPoints IEnumerable<ScreenPointF[]><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointFthinkgeo.mapsuite.wpfdesktopedition.wpfgeocanvas} –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawArea(AreaBaseShape, GeoBrush, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape AreaBaseShape<!– ThinkGeo.MapSuite.Core.AreaBaseShape –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawArea(Feature, GeoPen, GeoBrush, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
centerPointFeature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
width Single<!– System.Single –>
height Single<!– System.Single –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape PointBaseShape<!– ThinkGeo.MapSuite.Core.PointBaseShape –>
width Single<!– System.Single –>
height Single<!– System.Single –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape PointBaseShape<!– ThinkGeo.MapSuite.Core.PointBaseShape –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape PointBaseShape<!– ThinkGeo.MapSuite.Core.PointBaseShape –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenPoint ScreenPointF<!– ThinkGeo.MapSuite.Core.ScreenPointF –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape PointBaseShape<!– ThinkGeo.MapSuite.Core.PointBaseShape –>
width Single<!– System.Single –>
height Single<!– System.Single –>
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawLine(Feature, GeoPen, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
linePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawLine(LineBaseShape, GeoPen, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –>
linePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
feature Feature<!– ThinkGeo.MapSuite.Core.Feature –>
linePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
shape LineBaseShape<!– ThinkGeo.MapSuite.Core.LineBaseShape –>
linePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenPoints IEnumerable<ScreenPointF><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} –>
linePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInScreen Single<!– System.Single –>
centerYInScreen Single<!– System.Single –>
widthInScreen Single<!– System.Single –>
heightInScreen Single<!– System.Single –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
rotateAngle Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInScreen Single<!– System.Single –>
centerYInScreen Single<!– System.Single –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
rotateAngle Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawText(String, GeoFont, GeoBrush, IEnumerable<ScreenPointF>, DrawingLevel)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
textPathInScreen IEnumerable<ScreenPointF><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawText(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single)

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
haloPen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
textPathInScreen IEnumerable<ScreenPointF><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
rotateAngle Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, GeoPen, Single, Single, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
haloPen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
upperLeftXInScreen Single<!– System.Single –>
upperLeftYInScreen Single<!– System.Single –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawTextWithScreenCoordinate(String, GeoFont, GeoBrush, Single, Single, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
upperLeftXInScreen Single<!– System.Single –>
upperLeftYInScreen Single<!– System.Single –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, GeoPen, Double, Double, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
haloPen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –>
upperLeftXInWorld Double<!– System.Double –>
upperLeftYInWorld Double<!– System.Double –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawTextWithWorldCoordinate(String, GeoFont, GeoBrush, Double, Double, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>
upperLeftXInWorld Double<!– System.Double –>
upperLeftYInWorld Double<!– System.Double –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInWorld Double<!– System.Double –>
centerYInWorld Double<!– System.Double –>
widthInScreen Single<!– System.Single –>
heightInScreen Single<!– System.Single –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInWorld Double<!– System.Double –>
centerYInWorld Double<!– System.Double –>
imageScale Double<!– System.Double –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
rotateAngle Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInWorld Double<!– System.Double –>
centerYInWorld Double<!– System.Double –>
widthInScreen Single<!– System.Single –>
heightInScreen Single<!– System.Single –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
rotateAngle Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawWorldImageWithoutScaling(GeoImage, Double, Double, DrawingLevel)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInWorld Double<!– System.Double –>
centerYInWorld Double<!– System.Double –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

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

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>
centerXInWorld Double<!– System.Double –>
centerYInWorld Double<!– System.Double –>
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –>
xOffset Single<!– System.Single –>
yOffset Single<!– System.Single –>
rotateAngle Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

EndDrawing()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Equals(Object)

Remarks

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

Flush()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

GetHashCode()

Remarks

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

Return Value

Return Type Description
Stream<!– System.IO.Stream –> The returning stream retrieved from the passed-in image.

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –> The parameter specifies the image to get the stream from.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

GetType()

Remarks

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MeasureText(String, GeoFont)

Remarks

Return Value

Return Type Description
DrawingRectangleF<!– ThinkGeo.MapSuite.Core.DrawingRectangleF –>

Parameters

Name Type Description
text String<!– System.String –>
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

ToGeoImage(Object)

Remarks

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>

Parameters

Name Type Description
nativeImage Object<!– System.Object –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

ToNativeImage(GeoImage)

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

ToString()

Remarks

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

BeginDrawingCore(Object, RectangleShape, GeographyUnit)

Prepare parameters for drawing with Shape objects.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
nativeImage Object<!– System.Object –> A canvas object that holds the drawing shape objects.
worldExtent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> An area to draw shapes on the canvas.
drawingMapUnit GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –> A geography unit for drawing.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

ClearCore(GeoBrush)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

CloneDeepCore()

Remarks

Return Value

Return Type Description
GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawAreaCore(IEnumerable<ScreenPointF[]>, GeoPen, GeoBrush, DrawingLevel, Single, Single, PenBrushDrawingOrder)

Draws an area with GeoCanvas.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenPoints IEnumerable<ScreenPointF[]><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointFthinkgeo.mapsuite.wpfdesktopedition.wpfgeocanvas} –> A collection of screen points for the area.
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –> Outline for drawing the area.
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –> Fill brush for drawing the area.
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –> Drawing level.
xOffset Single<!– System.Single –> Screen offset x for drawing.
yOffset Single<!– System.Single –> Screen offset y for drawing.
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –> An order that draws by pen and brush.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

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

Draws an ellipse with GeoCanvas.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenPoint ScreenPointF<!– ThinkGeo.MapSuite.Core.ScreenPointF –> Screen points of the ellipse.
width Single<!– System.Single –> Width in screen coordinate of the ellipse.
height Single<!– System.Single –> Height in screen coordinate of the ellipse.
outlinePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –> A pen for drawing the outline of the ellipse.
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –> A brush for filling the ellipse.
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –> Drawing level.
xOffset Single<!– System.Single –> Screen offset x for drawing ellipse.
yOffset Single<!– System.Single –> Screen offset y for drawing ellipse.
penBrushDrawingOrder PenBrushDrawingOrder<!– ThinkGeo.MapSuite.Core.PenBrushDrawingOrder –> An order that draws by pen and brush.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

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

Draws a line with GeoCanvas.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
screenPoints IEnumerable<ScreenPointF><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} –> Screen points for the line.
linePen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –> Pen for drawing lines.
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –> Drawing level.
xOffset Single<!– System.Single –> Screen offset x for drawing line.
yOffset Single<!– System.Single –> Screen offset y for drawing line.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

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

Draws an image with specified screen with and height.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –> An image source for drawing.
centerXInScreen Single<!– System.Single –> Screen center x of the image.
centerYInScreen Single<!– System.Single –> Screen center y of the image.
widthInScreen Single<!– System.Single –> Screen width of the image.
heightInScreen Single<!– System.Single –> Screen height of the image.
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –> Drawing level.
xOffset Single<!– System.Single –> Screen offset x for drawing image.
yOffset Single<!– System.Single –> Screen offset y for drawing image.
rotateAngle Single<!– System.Single –> Rotate angle for drawing image.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

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

Draws an image without scaling.

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –> An image source for drawing.
centerXInScreen Single<!– System.Single –> Screen center x of the image.
centerYInScreen Single<!– System.Single –> Screen center y of the image.
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –> Drawing level.
xOffset Single<!– System.Single –> Screen offset x for drawing image.
yOffset Single<!– System.Single –> Screen offset y for drawing image.
rotateAngle Single<!– System.Single –> Rotate angle for drawing image.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

DrawTextCore(String, GeoFont, GeoBrush, GeoPen, IEnumerable<ScreenPointF>, DrawingLevel, Single, Single, Single)

Draws text with GeoCanvas.

Remarks

For the most updated Info for this topic, please check it here:<a href=“” target=“_blank”></a>

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
text String<!– System.String –> This parameter specifies the text you wish to draw.
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –> This parameter represents the font you wish to use to draw the text.
fillBrush GeoBrush<!– ThinkGeo.MapSuite.Core.GeoBrush –> This parameter specifies the kind of fill you want to use to draw the text.
haloPen GeoPen<!– ThinkGeo.MapSuite.Core.GeoPen –> This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed.
textPathInScreen IEnumerable<ScreenPointF><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.Core.ScreenPointF} –> This parameter specifies the path on which to draw the text.
drawingLevel DrawingLevel<!– ThinkGeo.MapSuite.Core.DrawingLevel –> This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels.
xOffset Single<!– System.Single –> This parameter determines the X offset for the text to be drawn.
yOffset Single<!– System.Single –> This parameter determines the Y offset for the text to be drawn.
rotateAngle Single<!– System.Single –> This parameter determines the rotation angle for the text to be drawn.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

EndDrawingCore()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Finalize()

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

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

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

GetCanvasHeight(Object)

Remarks

Return Value

Return Type Description
Single<!– System.Single –>

Parameters

Name Type Description
nativeImage Object<!– System.Object –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

GetCanvasHeightCore(Object)

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

Remarks

Return Value

Return Type Description
Single<!– System.Single –> The returning canvas height.

Parameters

Name Type Description
nativeImage Object<!– System.Object –> The native image will be used to get the image height.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

GetCanvasWidth(Object)

Remarks

Return Value

Return Type Description
Single<!– System.Single –>

Parameters

Name Type Description
nativeImage Object<!– System.Object –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

GetCanvasWidthCore(Object)

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

Remarks

Return Value

Return Type Description
Single<!– System.Single –> The returning canvas width.

Parameters

Name Type Description
nativeImage Object<!– System.Object –> The native image that will be used to get the image width.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

MeasureTextCore(String, GeoFont)

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

Remarks

Return Value

Return Type Description
DrawingRectangleF<!– ThinkGeo.MapSuite.Core.DrawingRectangleF –> This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.

Parameters

Name Type Description
text String<!– System.String –> This parameter represents the text to be measured.
font GeoFont<!– ThinkGeo.MapSuite.Core.GeoFont –> This parameter represents the font for drawing text.

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

MemberwiseClone()

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

Remarks

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
e DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

ToGeoImageCore(Object)

This method will throw NotImplementedException.

Remarks

Return Value

Return Type Description
GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>

Parameters

Name Type Description
nativeImage Object<!– System.Object –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

ToNativeImageCore(GeoImage)

This method will throw NotImplementedException.

Remarks

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description
image GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas(overriden) –> Go Back

Public Properties

ClippingArea

Remarks

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

CurrentScale

Remarks

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

CurrentWorldExtent

Remarks

Return Value

Return Type
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Dpi

Remarks

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

DrawingQuality

Remarks

Return Value

Return Type
DrawingQuality<!– ThinkGeo.MapSuite.Core.DrawingQuality –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

HasKeyColor

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Height

Remarks

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

IsDrawing

Remarks

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

KeyColors

Remarks

Return Value

Return Type
Collection<GeoColor><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.GeoColor} –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

MapUnit

Remarks

Return Value

Return Type
GeographyUnit<!– ThinkGeo.MapSuite.Core.GeographyUnit –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

NativeImage

Remarks

Return Value

Return Type
Object<!– System.Object –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Width

Remarks

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

Protected Properties

Public Events

DrawingProgressChanged

Remarks

Event Arguments

Event Arguments
DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs –>

<!– ThinkGeo.MapSuite.Core.GeoCanvas –> Go Back

NOTOC WpfDesktopEdition ThinkGeo.MapSuite.WpfDesktopEdition UpdateDocumentation

thinkgeo.mapsuite.wpfdesktopedition.wpfgeocanvas.1440040137.txt.gz · Last modified: 2015/09/18 03:17 (external edit)