====== ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage ====== {{section>upgrade_map_suite_to_10.0}} 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 ===== *System.Object **[[ThinkGeo.MapSuite.WindowsPhoneCore.GeoImage]] ===== Members Summary ===== ==== Public Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#GeoImage()|GeoImage]] | | | This is the constructor used to create a new GeoImage. | | {{wiki:PublicMethod.gif|Public Method}}[[#GeoImage(Uri)|GeoImage]] | Uri | | | | {{wiki:PublicMethod.gif|Public Method}}[[#GeoImage(Uri, Double, Double)|GeoImage]] | Uri, Double, Double | | | ==== Protected Constructors ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ ==== Public Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:PublicMethod.gif|Public Method}}[[#Dispose()|Dispose]] | | | This is the Dispose for the class. | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | ==== Protected Methods ==== ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | ==== Public Properties ==== ^ Name ^ Return ^ DeclaringType ^ Summary ^ | {{wiki:PublicProperty.gif|Public Property}}[[#CanvasImageFormat|CanvasImageFormat]] | Guid | | This property returns the image format. | | {{wiki:PublicProperty.gif|Public Property}}[[#Height|Height]] | Double | | | | {{wiki:PublicProperty.gif|Public Property}}[[#ImageUri|ImageUri]] | Uri | | | | {{wiki:PublicProperty.gif|Public Property}}[[#SourceStream|SourceStream]] | Stream | | | | {{wiki:PublicProperty.gif|Public Property}}[[#Width|Width]] | 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 ^ [[#Public Constructors|Go Back]] ==== GeoImage(Uri) ==== === Overloads === This constructor allows you to create a drawing image by specifying a PathFileName. === Parameters === ^ Name ^ Type ^ Description ^ | imageUri | Uri | | [[#Public Constructors|Go Back]] ==== GeoImage(Uri, Double, Double) ==== === Parameters === ^ Name ^ Type ^ Description ^ | imageUri | Uri | | | width | Double | | | height | Double | | [[#Public Constructors|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 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== Equals(Object) ==== === Return Value === ^ Return Type ^ Description ^ | Boolean | | === Parameters === ^ Name ^ Type ^ Description ^ | obj | Object | | [[#Public Methods|Go Back]] ==== GetHashCode() ==== === Return Value === ^ Return Type ^ Description ^ | Int32 | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== GetType() ==== === Return Value === ^ Return Type ^ Description ^ | Type | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ==== ToString() ==== === Return Value === ^ Return Type ^ Description ^ | String | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Public Methods|Go Back]] ===== Protected Methods ===== ==== Finalize() ==== === Return Value === ^ Return Type ^ Description ^ | Void | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ==== MemberwiseClone() ==== === Return Value === ^ Return Type ^ Description ^ | Object | | === Parameters === ^ Name ^ Type ^ Description ^ [[#Protected Methods|Go Back]] ===== Public Properties ===== ==== CanvasImageFormat ==== This property returns the image format. === Return Value === ^ Return Type ^ | Guid | [[#Public Properties|Go Back]] ==== Height ==== === Return Value === ^ Return Type ^ | Double | [[#Public Properties|Go Back]] ==== ImageUri ==== === Return Value === ^ Return Type ^ | Uri | [[#Public Properties|Go Back]] ==== SourceStream ==== === Return Value === ^ Return Type ^ | Stream | [[#Public Properties|Go Back]] ==== Width ==== === Return Value === ^ Return Type ^ | Double | [[#Public Properties|Go Back]] ===== Protected Properties ===== ===== Public Events ===== __NOTOC__ [[Category:WindowsPhoneMapSuiteCore]] [[Category:ThinkGeo.MapSuite.WindowsPhoneCore]] [[Category:UpdateDocumentation]]