User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.geoimage

ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage

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.

<!– Class –> This class represents an image you want to use on the GeoCanvas.

Remarks

This class was designed so that it can be used for any type of stream while still being easy to use. For example, you can specify a path and filename in the constructor and the class will hold this. When the GeoCanvas needs the image, it will get its stream and then pass it off for drawing. After drawing, it disposes of the stream so there are no wasted resources.

You can also pass in a path and filename that does not actually exist on disk. In that case we will raise an event where you can provide a stream on demand. With this function, you can use compressed streams, isolated storage and many other stream-related storage machanisms.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoImage This is the constructor used to create a new GeoImage.
Public MethodGeoImage Uri
Public MethodGeoImage Uri, Double, Double

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodDispose This is the Dispose for the class.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyCanvasImageFormat Guid This property returns the image format.
Public PropertyHeight Double
Public PropertyImageUri Uri
Public PropertySourceStream Stream
Public PropertyWidth Double

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoImage()

This is the constructor used to create a new GeoImage.

Overloads

This constructor allows you to create a drawing image without specifying a PathFileName.

Remarks

You need to set the imageUri if you intend to use this constructor.

Parameters

Name Type Description

Go Back

GeoImage(Uri)

Overloads

This constructor allows you to create a drawing image by specifying a PathFileName.

Parameters

Name Type Description
imageUri Uri<!– System.Uri –>

Go Back

GeoImage(Uri, Double, Double)

Parameters

Name Type Description
imageUri Uri<!– System.Uri –>
width Double<!– System.Double –>
height Double<!– System.Double –>

Go Back

Protected Constructors

Public Methods

Dispose()

This is the Dispose for the class.

Overloads

This overload will dispose of the stream in the GeoImage and release its resources.

Remarks

This overload will dispose of the stream in the GeoImage and release its resources.

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> Go Back

Equals(Object)

Return Value

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

Parameters

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

<!– System.Object –> Go Back

GetHashCode()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

CanvasImageFormat

This property returns the image format.

Return Value

Return Type
Guid<!– System.Guid –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> Go Back

Height

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> Go Back

ImageUri

Return Value

Return Type
Uri<!– System.Uri –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> Go Back

SourceStream

Return Value

Return Type
Stream<!– System.IO.Stream –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> Go Back

Width

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.windowsphonecore.geoimage.txt · Last modified: 2017/03/16 21:59 (external edit)