User Tools

Site Tools


thinkgeo.mapsuite.wpfdesktopedition.wpfgeoimage

This is an old revision of the document!


ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage

<!– Class –> This class represents an GeoImage object for WPF. It maintains an Uri and Stream for the image source.

Remarks

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

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodWpfGeoImage This is constructor of WpfGeoImage class.
Public MethodWpfGeoImage Stream Constructor of WpfGeoImage class.
Public MethodWpfGeoImage Stream, Double, Double Constructor of WpfGeoImage class.
Public MethodWpfGeoImage Uri, Double, Double Constructor of WpfGeoImage class.
Public MethodWpfGeoImage Uri Constructor of WpfGeoImage class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodClose GeoImage
Public MethodDispose GeoImage
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetHeight GeoImage
Public MethodGetImageStream GeoCanvas GeoImage
Public MethodGetType Object
Public MethodGetWidth GeoImage
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object(overriden)
Protected MethodGetImageStreamCore GeoCanvas GeoImage
Protected MethodMemberwiseClone Object
Protected MethodOnStreamLoading StreamLoadingEventArgs GeoImage

Public Properties

Name Return DeclaringType Summary
Public PropertyCanvasImageFormat Guid GeoImage
Public PropertyFileName String GeoImage
Public PropertyHeightInPixel Double Height of the WpfGeoImage in screen coordinate.
Public PropertyImageUri Uri Image source uri which can be internet uri or a related uri in the resource. If SourceStream and ImageUri are both setted, SourceStream has higher priority.
Public PropertyPathFilename String GeoImage
Public PropertyPathName String GeoImage
Public PropertySourceStream Stream Stream source of the GeoImage. If SourceStream and ImageUri are both setted, SourceStream has higher priority.
Public PropertyWidthInPixel Double Width of the WpfGeoImage in screen coordinate.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary
Public EventStreamLoading StreamLoadingEventArgs GeoImage

Public Constructors

WpfGeoImage()

This is constructor of WpfGeoImage class.

Remarks

Parameters

Name Type Description

Go Back

WpfGeoImage(Stream)

Constructor of WpfGeoImage class.

Remarks

Parameters

Name Type Description
sourceStream Stream<!– System.IO.Stream –> A Stream indicates the source of the Wpf image.

Go Back

WpfGeoImage(Stream, Double, Double)

Constructor of WpfGeoImage class.

Remarks

Parameters

Name Type Description
sourceStream Stream<!– System.IO.Stream –> A Stream indicates the source of the Wpf image.
width Double<!– System.Double –> Width of the WpfGeoImage in screen coordinate.
height Double<!– System.Double –> Height of the WpfGeoImage in screen coordinate.

Go Back

WpfGeoImage(Uri, Double, Double)

Constructor of WpfGeoImage class.

Remarks

Parameters

Name Type Description
imageUri Uri<!– System.Uri –> An Uri of the image source. Internet uri and related uri are both supported.
width Double<!– System.Double –> Width of the WpfGeoImage in screen coordinate.
height Double<!– System.Double –> Height of the WpfGeoImage in screen coordinate.

Go Back

WpfGeoImage(Uri)

Constructor of WpfGeoImage class.

Remarks

Parameters

Name Type Description
imageUri Uri<!– System.Uri –> An Uri of the image source. Internet uri and related uri are both supported.

Go Back

Protected Constructors

Public Methods

Close()

Remarks

Return Value

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

Parameters

Name Type Description

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

Dispose()

Remarks

Return Value

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

Parameters

Name Type Description

<!– ThinkGeo.MapSuite.Core.GeoImage –> 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

GetHashCode()

Remarks

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetHeight()

Remarks

Return Value

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

Parameters

Name Type Description

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

GetImageStream(GeoCanvas)

Remarks

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>

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

GetType()

Remarks

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

GetWidth()

Remarks

Return Value

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

Parameters

Name Type Description

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

ToString()

Remarks

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Remarks

Return Value

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

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

GetImageStreamCore(GeoCanvas)

Remarks

Return Value

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

Parameters

Name Type Description
canvas GeoCanvas<!– ThinkGeo.MapSuite.Core.GeoCanvas –>

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

MemberwiseClone()

Remarks

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

OnStreamLoading(StreamLoadingEventArgs)

Remarks

Return Value

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

Parameters

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

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

Public Properties

CanvasImageFormat

Remarks

Return Value

Return Type
Guid<!– System.Guid –>

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

FileName

Remarks

Return Value

Return Type
String<!– System.String –>

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

HeightInPixel

Height of the WpfGeoImage in screen coordinate.

Remarks

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage –> Go Back

ImageUri

Image source uri which can be internet uri or a related uri in the resource. If SourceStream and ImageUri are both setted, SourceStream has higher priority.

Remarks

Return Value

Return Type
Uri<!– System.Uri –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage –> Go Back

PathFilename

Remarks

Return Value

Return Type
String<!– System.String –>

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

PathName

Remarks

Return Value

Return Type
String<!– System.String –>

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

SourceStream

Stream source of the GeoImage. If SourceStream and ImageUri are both setted, SourceStream has higher priority.

Remarks

Return Value

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

<!– ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage –> Go Back

WidthInPixel

Width of the WpfGeoImage in screen coordinate.

Remarks

Return Value

Return Type
Double<!– System.Double –>

<!– ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage –> Go Back

Protected Properties

Public Events

StreamLoading

Remarks

Event Arguments

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

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

NOTOC WpfDesktopEdition ThinkGeo.MapSuite.WpfDesktopEdition UpdateDocumentation

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