User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.drawingvisualgeocanvas

ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas

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

This class represents a canvas that is used to draw geographic shapes. It is intended to be inherited for the implementation of drawing visual systems.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.GeoCanvas
      • ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas

Members Summary

Public Constructors

DrawingVisualGeoCanvas()

  • Constructor of DrawingVisualGeoCanvas.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawingVisualGeoCanvas.28.29
Parameters

Protected Constructors

Public Methods

GetStreamFromGeoImage(GeoImage)

  • This method returns a stream that represents the GeoImage in TIFF format.
Remarks
  • This method allows you to get the stream out of a GeoImage. The stream is a memory stream and the bytes are in TIFF format. Once you have the stream, you can then save it to whatever format you need.
Return Value
  • Type:Stream
  • Description:This method returns a stream that represents the GeoImage in TIFF format.
Parameters
  • image
    • Type:GeoImage
    • Description:This parameter is the GeoImage you want to convert to a stream.

CloneDeep()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#CloneDeep.28.29
Return Value
Parameters

Clear(GeoBrush)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#Clear.28GeoBrush.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • fillBrush

DrawArea(Feature,GeoPen,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28Feature.2C_GeoPen.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • outlinePen

DrawArea(AreaBaseShape,GeoPen,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28AreaBaseShape.2C_GeoPen.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • outlinePen

DrawArea(Feature,GeoBrush,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28Feature.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • fillBrush

DrawArea(AreaBaseShape,GeoBrush,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28AreaBaseShape.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • fillBrush

DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28Feature.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • outlinePen
  • fillBrush

DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28AreaBaseShape.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • outlinePen
  • fillBrush

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28Feature.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.2C_Single.2C_Single.2C_PenBrushDrawingOrder.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • outlinePen
  • fillBrush
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawArea.28AreaBaseShape.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.2C_Single.2C_Single.2C_PenBrushDrawingOrder.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • outlinePen
  • fillBrush
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • outlinePen
  • fillBrush
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

DrawLine(Feature,GeoPen,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawLine.28Feature.2C_GeoPen.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • linePen

DrawLine(LineBaseShape,GeoPen,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawLine.28LineBaseShape.2C_GeoPen.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • linePen

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawLine.28Feature.2C_GeoPen.2C_DrawingLevel.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • linePen
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawLine.28LineBaseShape.2C_GeoPen.2C_DrawingLevel.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • linePen
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • screenPoints
  • linePen
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28Feature.2C_Single.2C_Single.2C_GeoPen.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28PointBaseShape.2C_Single.2C_Single.2C_GeoPen.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28Feature.2C_Single.2C_Single.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerPointFeature
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • fillBrush

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28PointBaseShape.2C_Single.2C_Single.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • fillBrush

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28Feature.2C_Single.2C_Single.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen
  • fillBrush

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28PointBaseShape.2C_Single.2C_Single.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen
  • fillBrush

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28Feature.2C_Single.2C_Single.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.2C_Single.2C_Single.2C_PenBrushDrawingOrder.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen
  • fillBrush
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28PointBaseShape.2C_Single.2C_Single.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.2C_Single.2C_Single.2C_PenBrushDrawingOrder.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen
  • fillBrush
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawEllipse.28ScreenPointF.2C_Single.2C_Single.2C_GeoPen.2C_GeoBrush.2C_DrawingLevel.2C_Single.2C_Single.2C_PenBrushDrawingOrder.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • outlinePen
  • fillBrush
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

DrawWorldImageWithoutScaling(GeoImage,Double,Double,DrawingLevel)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawWorldImageWithoutScaling.28GeoImage.2C_Double.2C_Double.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInWorld
    • Type:Double
    • Description:N/A
  • centerYInWorld
    • Type:Double
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawWorldImageWithoutScaling.28GeoImage.2C_Double.2C_Double.2C_DrawingLevel.2C_Single.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInWorld
    • Type:Double
    • Description:N/A
  • centerYInWorld
    • Type:Double
    • Description:N/A
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawScreenImageWithoutScaling.28GeoImage.2C_Single.2C_Single.2C_DrawingLevel.2C_Single.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInScreen
    • Type:Single
    • Description:N/A
  • centerYInScreen
    • Type:Single
    • Description:N/A
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawWorldImage.28GeoImage.2C_Double.2C_Double.2C_Single.2C_Single.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInWorld
    • Type:Double
    • Description:N/A
  • centerYInWorld
    • Type:Double
    • Description:N/A
  • widthInScreen
    • Type:Single
    • Description:N/A
  • heightInScreen
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawWorldImage.28GeoImage.2C_Double.2C_Double.2C_Double.2C_DrawingLevel.2C_Single.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInWorld
    • Type:Double
    • Description:N/A
  • centerYInWorld
    • Type:Double
    • Description:N/A
  • imageScale
    • Type:Double
    • Description:N/A
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawWorldImage.28GeoImage.2C_Double.2C_Double.2C_Single.2C_Single.2C_DrawingLevel.2C_Single.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInWorld
    • Type:Double
    • Description:N/A
  • centerYInWorld
    • Type:Double
    • Description:N/A
  • widthInScreen
    • Type:Single
    • Description:N/A
  • heightInScreen
    • Type:Single
    • Description:N/A
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawScreenImage.28GeoImage.2C_Single.2C_Single.2C_Single.2C_Single.2C_DrawingLevel.2C_Single.2C_Single.2C_Single.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • centerXInScreen
    • Type:Single
    • Description:N/A
  • centerYInScreen
    • Type:Single
    • Description:N/A
  • widthInScreen
    • Type:Single
    • Description:N/A
  • heightInScreen
    • Type:Single
    • Description:N/A
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawTextWithScreenCoordinate.28String.2C_GeoFont.2C_GeoBrush.2C_Single.2C_Single.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:N/A
  • font
  • fillBrush
  • upperLeftXInScreen
    • Type:Single
    • Description:N/A
  • upperLeftYInScreen
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawTextWithScreenCoordinate.28String.2C_GeoFont.2C_GeoBrush.2C_GeoPen.2C_Single.2C_Single.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:N/A
  • font
  • fillBrush
  • haloPen
  • upperLeftXInScreen
    • Type:Single
    • Description:N/A
  • upperLeftYInScreen
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawTextWithWorldCoordinate.28String.2C_GeoFont.2C_GeoBrush.2C_Double.2C_Double.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:N/A
  • font
  • fillBrush
  • upperLeftXInWorld
    • Type:Double
    • Description:N/A
  • upperLeftYInWorld
    • Type:Double
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#DrawTextWithWorldCoordinate.28String.2C_GeoFont.2C_GeoBrush.2C_GeoPen.2C_Double.2C_Double.2C_DrawingLevel.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:N/A
  • font
  • fillBrush
  • haloPen
  • upperLeftXInWorld
    • Type:Double
    • Description:N/A
  • upperLeftYInWorld
    • Type:Double
    • Description:N/A

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:N/A
  • font
  • fillBrush
  • textPathInScreen

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

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:N/A
  • font
  • fillBrush
  • haloPen
  • textPathInScreen
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

MeasureText(String,GeoFont)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#MeasureText.28String.2C_GeoFont.29
Return Value
Parameters
  • text
    • Type:String
    • Description:N/A
  • font

BeginDrawing(Object,RectangleShape,GeographyUnit)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#BeginDrawing.28Object.2C_RectangleShape.2C_GeographyUnit.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • nativeImage
    • Type:Object
    • Description:N/A

ToNativeImage(GeoImage)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#ToNativeImage.28GeoImage.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

ToGeoImage(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#ToGeoImage.28Object.29
Return Value
Parameters
  • nativeImage
    • Type:Object
    • Description:N/A

EndDrawing()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#EndDrawing.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Flush()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#Flush.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

BeginDrawingCore(Object,RectangleShape,GeographyUnit)

  • This method converts a GeoImage to a commonly-used object. In GdiPlus, this object is often an Image control in Wpf.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#BeginDrawingCore.28Object.2C_RectangleShape.2C_GeographyUnit.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • nativeImage
    • Type:Object
    • Description:N/A

EndDrawingCore()

  • This method ends drawing and commits the drawing on the GeoCanvas.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#EndDrawingCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

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

  • This method draws the 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
  • Type:Void
  • Description:N/A
Parameters
  • screenPoints
    • Type:IEnumerable<ScreenPointF[]>
    • Description:This parameter is the area point in screen coordinates.
  • outlinePen
    • Type:GeoPen
    • Description:This parameter describes the outline GeoPen that will be used to draw the area.
  • fillBrush
    • Type:GeoBrush
    • Description:This parameter describes the GeoBrush that will be used to draw the area.
  • drawingLevel
    • Description:This parameter determines the level for drawing.
  • xOffset
    • Type:Single
    • Description:This parameter determines the X offset for the area to be drawn.
  • yOffset
    • Type:Single
    • Description:This parameter determines the Y offset for the area to be drawn.
  • penBrushDrawingOrder

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

  • Draws a 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
  • Type:Void
  • Description:N/A
Parameters
  • screenPoints
    • Type:IEnumerable<ScreenPointF>
    • Description:This parameter represents the line points in screen coordinates.
  • linePen
    • Type:GeoPen
    • Description:This parameter describes the GeoPen that will be used to draw the LineShape.
  • drawingLevel
    • Description:This parameter determines the DrawingLevel that the GeoPen will draw on.
  • xOffset
    • Type:Single
    • Description:This parameter determines the X offset for the line to be drawn.
  • yOffset
    • Type:Single
    • Description:This parameter determines the Y offset for the line to be drawn.

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

  • Draws the 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
  • Type:Void
  • Description:N/A
Parameters
  • screenPoint
    • Description:This parameter is the point in screen coordinates.
  • width
    • Type:Single
    • Description:This parameter describes the width of the ellipse to be drawn.
  • height
    • Type:Single
    • Description:This parameter describes the height of the ellipse to be drawn.
  • outlinePen
    • Type:GeoPen
    • Description:This parameter describes the outline GeoPen that will be used to draw the point.
  • fillBrush
    • Type:GeoBrush
    • Description:This parameter describes the fill GeoBrush that will be used to draw the point.
  • drawingLevel
    • Description:This parameter determines the DrawingLevel that the GeoPen or GeoBrush will draw on.
  • xOffset
    • Type:Single
    • Description:This parameter determines the X offset of the ellipse to be drawn.
  • yOffset
    • Type:Single
    • Description:This parameter determines the Y offset of the ellipse to be drawn.
  • penBrushDrawingOrder

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
  • Type:Void
  • Description:N/A
Parameters
  • image
    • Type:GeoImage
    • Description:The image you want to draw unscaled.
  • centerXInScreen
    • Type:Single
    • Description:The X coordinate of the center point (in screen coordinates) of where you want to draw the image.
  • centerYInScreen
    • Type:Single
    • Description:The Y coordinate of the center point (in screen coordinates) of where you want to draw the image.
  • drawingLevel
    • Description:This parameter determines the DrawingLevel the image will draw on.
  • xOffset
    • Type:Single
    • Description:This parameter determines the X offset for the image to be drawn.
  • yOffset
    • Type:Single
    • Description:This parameter determines the Y offset for the image to be drawn.
  • rotateAngle
    • Type:Single
    • Description:This parameter determines the rotation angle for the image to be drawn.

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
  • Type:Void
  • Description:N/A
Parameters
  • image
    • Type:GeoImage
    • Description:The image you want to draw.
  • centerXInScreen
    • Type:Single
    • Description:The X coordinate of the center point (in screen coordinates) of where you want to draw the image.
  • centerYInScreen
    • Type:Single
    • Description:The Y coordinate of the center point (in screen coordinates) of where you want to draw the image.
  • widthInScreen
    • Type:Single
    • Description:The width you want to scale the image to. This is the width at which the image will be drawn.
  • heightInScreen
    • Type:Single
    • Description:The height you want to scale the image to. This is the height at which the image will be drawn.
  • drawingLevel
    • Description:This parameter determines the DrawingLevel the image will draw on.
  • xOffset
    • Type:Single
    • Description:This parameter determines the X offset for the image to be drawn.
  • yOffset
    • Type:Single
    • Description:This parameter determines the Y offset for the image to be drawn.
  • rotateAngle
    • Type:Single
    • Description:This parameter determines the rotation angle for the image to be drawn.

DrawTextCore(String,GeoFont,GeoBrush,GeoPen,IEnumerable<ScreenPointF>,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
  • Type:Void
  • Description:N/A
Parameters
  • text
    • Type:String
    • Description:This parameter specifies the text you wish to draw.
  • font
    • Type:GeoFont
    • Description:This parameter represents the font you wish to use to draw the text.
  • fillBrush
    • Type:GeoBrush
    • Description:This parameter specifies the kind of fill you want to use to draw the text.
  • haloPen
    • Type:GeoPen
    • Description:This parameter specifies the HaloPen that will be used to draw the text, when the HaloPen effect is needed.
  • textPathInScreen
    • Type:IEnumerable<ScreenPointF>
    • Description:This parameter specifies the path on which to draw the text.
  • drawingLevel
    • Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels.
  • xOffset
    • Type:Single
    • Description:This parameter determines the X offset for the text to be drawn.
  • yOffset
    • Type:Single
    • Description:This parameter determines the Y offset for the text to be drawn.
  • rotateAngle
    • Type:Single
    • Description:This parameter determines the rotation angle for the text to be drawn.

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
  • Description:This method returns the rectangle that contains the specified text, when that text is drawn with the specified font.
Parameters
  • text
    • Type:String
    • Description:This parameter represents the text you want to measure.
  • font
    • Type:GeoFont
    • Description:This parameter represents the font of the text you want to measure.

ToNativeImageCore(GeoImage)

  • This method returns a native image object from the specified GeoCanvas.
Remarks
  • It is not implemented.
Return Value
  • Type:Object
  • Description:This method returns a native image object from the specified GeoCanvas.
Parameters
  • image
    • Type:GeoImage
    • Description:This parameter is the GeoCanvas you want to convert to a native image.

ToGeoImageCore(Object)

  • This method returns a GeoImage from a native image object.
Remarks
  • It is not implemented.
Return Value
  • Type:GeoImage
  • Description:This method returns a GeoImage from a native image object.
Parameters
  • nativeImage
    • Type:Object
    • Description:This parameter is the native image object you want to convert to a GeoImage.

GetCanvasWidthCore(Object)

  • This method gets the canvas width of the specified native image object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#GetCanvasWidthCore.28Object.29
Return Value
  • Type:Single
  • Description:The returning canvas width.
Parameters
  • nativeImage
    • Type:Object
    • Description:The native image will be used to get the canvas width.

GetCanvasHeightCore(Object)

  • This method gets the canvas height of the specified native image object.
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#GetCanvasHeightCore.28Object.29
Return Value
  • Type:Single
  • Description:The returning canvas height.
Parameters
  • nativeImage
    • Type:Object
    • Description:The native image will be used to get the canvas height.

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
  • Type:Void
  • Description:N/A
Parameters

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#OnDrawingProgressChanged.28DrawingProgressChangedEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

KRY=(DrawingRectangleF)

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

CloneDeepCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#CloneDeepCore.28.29
Return Value
Parameters

ClearCore(GeoBrush)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#ClearCore.28GeoBrush.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • fillBrush

GetCanvasWidth(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#GetCanvasWidth.28Object.29
Return Value
  • Type:Single
  • Description:N/A
Parameters
  • nativeImage
    • Type:Object
    • Description:N/A

GetCanvasHeight(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#GetCanvasHeight.28Object.29
Return Value
  • Type:Single
  • Description:N/A
Parameters
  • nativeImage
    • Type:Object
    • Description:N/A

6xU=(String)

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

7BU=(String)

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

Finalize()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

Dpi

The DPI value for the final drawing result, only valid when HasDpi set to true.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#Dpi

Return Value
  • Type:Single

ClippingArea

N/A

Remarks
Return Value

CurrentScale

N/A

Remarks
Return Value
  • Type:Double

DrawingQuality

N/A

Remarks
Return Value

MapUnit

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.DrawingVisualGeoCanvas#MapUnit

Return Value

Width

N/A

Remarks
Return Value
  • Type:Single

Height

N/A

Remarks
Return Value
  • Type:Single

CurrentWorldExtent

N/A

Remarks
Return Value

HasKeyColor

N/A

Remarks
Return Value
  • Type:Boolean

KeyColors

N/A

Remarks
Return Value

NativeImage

N/A

Remarks
Return Value
  • Type:Object

IsDrawing

N/A

Remarks
Return Value
  • Type:Boolean

Protected Properties

IRY=

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Public Events

DrawingProgressChanged N/A

Remarks
thinkgeo.mapsuite.wpfdesktopedition.drawingvisualgeocanvas.txt · Last modified: 2017/03/16 21:59 (external edit)