User Tools

Site Tools


api:thinkgeo.mapsuite.drawing.pdfgeocanvas

ThinkGeo.MapSuite.Drawing.PdfGeoCanvas

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Drawing.GeoCanvas
      • ThinkGeo.MapSuite.Drawing.PdfGeoCanvas

Members Summary

Public Constructors

PdfGeoCanvas()

  • N/A
Remarks
  • N/A
Parameters

Protected Constructors

Public Methods

GetStreamFromGeoImage(GeoImage)

  • N/A
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. From 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 PNG format.
Parameters
  • image
    • Type:GeoImage
    • Description:This parameter is the GeoImage you want to convert to a stream.

Flush()

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

CloneDeep()

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

GetStyleSheetClasses()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Dictionary<String,Dictionary<String,String»
  • Description:N/A
Parameters

Clear(GeoBrush)

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

DrawArea(Feature,GeoPen,DrawingLevel)

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

DrawArea(AreaBaseShape,GeoPen,DrawingLevel)

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

DrawArea(Feature,GeoBrush,DrawingLevel)

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

DrawArea(AreaBaseShape,GeoBrush,DrawingLevel)

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

DrawArea(Feature,GeoPen,GeoBrush,DrawingLevel)

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

DrawArea(AreaBaseShape,GeoPen,GeoBrush,DrawingLevel)

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

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

  • N/A
Remarks
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • feature
  • linePen

DrawLine(LineBaseShape,GeoPen,DrawingLevel)

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

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

  • N/A
Remarks
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
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
  • N/A
Return Value
Parameters
  • text
    • Type:String
    • Description:N/A
  • font

BeginDrawing(Object,RectangleShape,GeographyUnit)

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

ToNativeImage(GeoImage)

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

ToGeoImage(Object)

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

EndDrawing()

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

ToString()

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

Equals(Object)

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

GetHashCode()

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

GetType()

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

ConvertGeoImageToMemoryStream(GeoImage)

  • N/A
Remarks
  • This method is used to get a Tiff memory stream from a GeoImage using the canvas specific methods. If you need to get a different format other than Tiff then you can use the other overload which allows you to specify the output format.
Return Value
  • Type:MemoryStream
  • Description:This method converts a GeoImage to a memory stream.
Parameters
  • image
    • Type:GeoImage
    • Description:This parameter is the GeoImage you want to convert to a stream.

ConvertGeoImageToMemoryStream(GeoImage,ImageFormat)

  • N/A
Remarks
  • This method allows you to save the GeoImage to any format you specify. This allows you to save it for example to PNG or toher formats and then save it to disk.
Return Value
  • Type:MemoryStream
  • Description:The return is a memory stream with the bytes formatted based on the image format you specify.
Parameters
  • image
    • Type:GeoImage
    • Description:This parameter is the GeoImage you want to convert to a memory stream.
  • imageFormat
    • Type:ImageFormat
    • Description:This parameter is the image format you want the stream in.

CreateGeoImage(Int32,Int32)

  • N/A
Remarks
  • You can use this static member to easily create a GeoCanvas.
Return Value
  • Type:GeoImage
  • Description:This method returns a GeoImage based on the height and width you provide.
Parameters
  • width
    • Type:Int32
    • Description:This parameter is the width of the GeoImage.
  • height
    • Type:Int32
    • Description:This parameter is the height of the GeoImage.

Protected Methods

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

  • N/A
Remarks
  • This method use used to draw on the GeoCanvas. It provides you number of overload that allow you control how it is drawn. By specifying the GeoBrush we will fill in the area. By specifying the GeoPen we will outline the area using that GeoPen. You can also call a overload which will allow you to specify both a GeoPen and GeoBrush. The DrawingLevel allows you to specify the level you will draw on when drawing many areas. This is very usefully when you want to draw a drop shadow for example. You can draw the black backdrop on the lowest level with a offset then draw the normal shape on a higher level without a offset.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • outlinePen
    • Type:GeoPen
    • Description:This parameter describes the outline GeoPen that will be used to draw the area.
  • fillBrush
  • drawingLevel
    • Description:This parameter determines the DrawingLevel the the GeoPen will draw on.
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • This method use used to draw on the GeoCanvas. By specifying the GeoPen we will draw the line using that GeoPen. The DrawingLevel allows you to specify the level you will draw on when drawing many lines. This is very usefully when you want to draw a road. You can draw the black background on the lowest level then draw white line on a higher level slightly thinner. This will give a great effect of a road.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • screenPoints
  • linePen
    • Type:GeoPen
    • Description:This parameter describes the GeoPen that will be used to draw the LineShape.
  • drawingLevel
    • Description:This parameter determines the DrawingLevel the the GeoPen will draw on.
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • This method use used to draw on the GeoCanvas. It provides you number of overload that allow you control how it is drawn. By specifying the GeoBrush we will fill in the area of the point. By specifying the GeoPen we will outline the point using that GeoPen. You can also call a overload which will allow you to specify both a GeoPen and GeoBrush. The DrawingLevel allows you to specify the level you will draw on when drawing many areas.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A
  • 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 the the GeoPen or GeoBrush will draw on.
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A

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

  • N/A
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:N/A
  • centerYInScreen
    • Type:Single
    • Description:N/A
  • drawingLevel
    • Description:This parameter determines the DrawingLevel the image will draw on.
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
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:N/A
  • centerYInScreen
    • Type:Single
    • Description:N/A
  • widthInScreen
    • Type:Single
    • Description:The width you want to scale the image to. This is the width the image will be drawn.
  • heightInScreen
    • Type:Single
    • Description:The height you want to scale the image to. This is the height the image will be drawn.
  • drawingLevel
    • Description:This parameter determines the DrawingLevel the image will draw on.
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

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

  • N/A
Remarks
  • This method use used to draw on the GeoCanvas. The DrawingLevel allows you to specify the level you will draw on when drawing many text pieces. This is very usefully when you want to draw a drop shadow for example. You can draw the black backdrop on the lowest level with a offset then draw the normal shape on a higher level without a 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
  • textPathInScreen
  • drawingLevel
    • Description:This parameter specifies the drawing level you wish to draw the text on. Higher levels overwrite lower levels.
  • xOffset
    • Type:Single
    • Description:N/A
  • yOffset
    • Type:Single
    • Description:N/A
  • rotateAngle
    • Type:Single
    • Description:N/A

MeasureTextCore(String,GeoFont)

  • N/A
Remarks
  • This method is typically used for labeling to determine of labels overlap.
Return Value
  • Description:This method returns the rectangle containing of the specified text when drawn with the specified font.
Parameters
  • text
    • Type:String
    • Description:This parameter represent the text you want to measure.
  • font
    • Type:GeoFont
    • Description:This parameter represent the font of the text you want to measure.

BeginDrawingCore(Object,RectangleShape,GeographyUnit)

  • N/A
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 the EndDrawing to commit the changes to the image.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • nativeImage
    • Type:Object
    • Description:N/A
  • worldExtent
    • Description:This parameter is the world extent of the canvasImage.

EndDrawingCore()

  • N/A
Remarks
  • This methods should be called when you are finished drawing. It will commit the image changes to the image you passed in on the BeginDrawing. It will also set the 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

ToNativeImageCore(GeoImage)

  • N/A
Remarks
  • It is faster to provide a native image object to the canvas for drawing. In some cases you may not know what the native image type is. For example for GDI+ it is a bitmap class but dot GDI it may be a handle to a HBitmap. If you are not sure how to create the native image object you should first create a GeoImage and then call this method and it will pass you back the native image object. You can then use it to get excellent drawing performance in the GeoCanvas.
Return Value
  • Type:Object
  • Description:This method returns a native image object from a GeoCanvas passed in.
Parameters
  • image
    • Type:GeoImage
    • Description:This parameter is the GeoCanvas you want to convert to a native image.

ToGeoImageCore(Object)

  • N/A
Remarks
  • This method will allows you to convert your native image object to a GeoImage. Many times when you work with a GeoCanvas you may not know the format of the native image. Using this method you can always convert it back to a GeoImage which is a stream of a TIFF.
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)

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

GetCanvasHeightCore(Object)

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

FlushCore()

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

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

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

ToWorldCoordinate(DrawingRectangleF)

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

CloneDeepCore()

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

ClearCore(GeoBrush)

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

GetCanvasWidth(Object)

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

GetCanvasHeight(Object)

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

Finalize()

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

MemberwiseClone()

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

Public Properties

DrawingArea

  • N/A
Remarks
  • N/A
Return Value
  • Type:Rectangle

DrawingExceptionMode

  • N/A
Remarks
  • N/A
Return Value

ClippingArea

  • N/A
Remarks
  • N/A
Return Value

StyleSheet

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

CurrentScale

  • N/A
Remarks
  • N/A
Return Value
  • Type:Double

DrawingQuality

  • N/A
Remarks
  • N/A
Return Value

MapUnit

  • N/A
Remarks
  • N/A
Return Value

Width

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

Height

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

CurrentWorldExtent

  • N/A
Remarks
  • N/A
Return Value

HasKeyColor

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

KeyColors

  • N/A
Remarks
  • N/A
Return Value

NativeImage

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

IsDrawing

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean

Dpi

  • N/A
Remarks
  • N/A
Return Value
  • Type:Single

Protected Properties

Public Events

DrawingProgressChanged

  • N/A
Remarks
  • N/A

Event Arguments:DrawingProgressChangedEventArgs

api/thinkgeo.mapsuite.drawing.pdfgeocanvas.txt · Last modified: 2017/01/11 06:45 (external edit)