====== ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage ====== {{section>upgrade_map_suite_to_10.0}} This class represents an GeoImage object for WPF. It maintains an Uri and Stream for the image source. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.Core.GeoImage ***ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} WpfGeoImage() ** * //This is constructor of WpfGeoImage class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#WpfGeoImage.28.29// == Parameters ==
** {{wiki:PublicMethod.gif|}} WpfGeoImage(Stream) ** * //Constructor of WpfGeoImage class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#WpfGeoImage.28Stream.29// == Parameters == * //sourceStream// * Type:Stream * Description:A Stream indicates the source of the Wpf image.
** {{wiki:PublicMethod.gif|}} WpfGeoImage(Stream,Double,Double) ** * //Constructor of WpfGeoImage class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#WpfGeoImage.28Stream.2C_Double.2C_Double.29// == Parameters == * //sourceStream// * Type:Stream * Description:A Stream indicates the source of the Wpf image. * //width// * Type:Double * Description:Width of the WpfGeoImage in screen coordinate. * //height// * Type:Double * Description:Height of the WpfGeoImage in screen coordinate.
** {{wiki:PublicMethod.gif|}} WpfGeoImage(Uri,Double,Double) ** * //Constructor of WpfGeoImage class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#WpfGeoImage.28Uri.2C_Double.2C_Double.29// == Parameters == * //imageUri// * Type:Uri * Description:An Uri of the image source. Internet uri and related uri are both supported. * //width// * Type:Double * Description:Width of the WpfGeoImage in screen coordinate. * //height// * Type:Double * Description:Height of the WpfGeoImage in screen coordinate.
** {{wiki:PublicMethod.gif|}} WpfGeoImage(Uri) ** * //Constructor of WpfGeoImage class.// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#WpfGeoImage.28Uri.29// == Parameters == * //imageUri// * Type:Uri * Description:An Uri of the image source. Internet uri and related uri are both supported.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} GetImageStream(GeoCanvas) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#GetImageStream.28GeoCanvas.29// == Return Value == * Type:Stream * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:PublicMethod.gif|}} GetWidth() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#GetWidth.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetHeight() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#GetHeight.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Close() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#Close.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Dispose() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#Dispose.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#ToString.28.29// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} 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.WpfGeoImage#Equals.28Object.29// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#GetHashCode.28.29// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#GetType.28.29// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} OnStreamLoading(StreamLoadingEventArgs) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#OnStreamLoading.28StreamLoadingEventArgs.29// == Return Value == * Type:Void * Description:N/A == Parameters == * //e// * Type:[[ThinkGeo.MapSuite.Core.StreamLoadingEventArgs|StreamLoadingEventArgs]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} GetImageStreamCore(GeoCanvas) ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#GetImageStreamCore.28GeoCanvas.29// == Return Value == * Type:Stream * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#Finalize.28.29// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#MemberwiseClone.28.29// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} 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 == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#ImageUri == Return Value == * Type:Uri ** {{wiki:PublicProperty.gif|}} WidthInPixel ** Width of the WpfGeoImage in screen coordinate. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#WidthInPixel == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} HeightInPixel ** Height of the WpfGeoImage in screen coordinate. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#HeightInPixel == Return Value == * Type:Double ** {{wiki:PublicProperty.gif|}} SourceStream ** Stream source of the GeoImage. If SourceStream and ImageUri are both setted, SourceStream has higher priority. == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#SourceStream == Return Value == * Type:Stream ** {{wiki:PublicProperty.gif|}} PathFilename ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#PathFilename == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} PathName ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#PathName == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} FileName ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#FileName == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} CanvasImageFormat ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#CanvasImageFormat == Return Value == * Type:Guid ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} 6kI= ** N/A == Remarks == N/A == Return Value == * Type:Object ==== Public Events ==== ** {{wiki:PublicEvent.gif|}} StreamLoading ** N/A == Remarks == For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.WpfDesktopEdition.WpfGeoImage#OnStreamLoading.28StreamLoadingEventArgs.29 Event Arguments:[[ThinkGeo.MapSuite.Core.StreamLoadingEventArgs|StreamLoadingEventArgs]]