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.
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 |
GeoImage | | | This is the constructor used to create a new GeoImage. |
GeoImage | Uri | | |
GeoImage | Uri, Double, Double | | |
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Protected Methods
Public Properties
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.
You need to set the imageUri if you intend to use this constructor.
Parameters
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.
This overload will dispose of the stream in the GeoImage and release its resources.
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– 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
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
Protected Methods
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
Public Properties
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