User Tools

Site Tools


thinkgeo.mapsuite.portablecore.geoimage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.portablecore.geoimage [2015/08/20 03:08]
127.0.0.1 external edit
thinkgeo.mapsuite.portablecore.geoimage [2017/03/16 21:59] (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.PortableCore.GeoImage ======+====== ThinkGeo.MapSuite.Core.GeoImage ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- 
-<!-- Class --> 
 This class represents an image you want to use on the GeoCanvas. 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 ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.PortableCore.GeoImage]]+    ***ThinkGeo.MapSuite.Core.GeoImage**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} GeoImage() ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#GeoImage()|GeoImage]] ​  ​| ​   |    | This is the constructor used to create a new GeoImage. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoImage(String)|GeoImage]] ​  | String ​  ​| ​   | This is the constructor to create a new GeoImage ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoImage(Stream)|GeoImage]] ​  | Stream ​  ​| ​   | This is the constructor to create a new GeoImage. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoImage(Int32,​ Int32)|GeoImage]] ​  | Int32, Int32   ​| ​   | This is the constructor to create a new GeoImage ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoImage(Object)|GeoImage]] ​  | Object ​  ​| ​   |    |+
  
-==== Protected Constructors ​==== +  * //This is the constructor used to create a new GeoImage.//​ 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //You need to set the PathFileName if you intend to use this constructor.//​ 
 +== Parameters ​== 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} GeoImage(String) **
  
 +  * //This is the constructor to create a new GeoImage//
 +== Remarks ==
 +  * //When you specify the path and filename, it should be in the correct format as such; however, the file does not need to exist on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists, then we will attempt to use it. If we cannot find it, then we will raise the SteamLoading event and allow you to supply the stream. For example, you can pass in "​C:​\NotARealPath\File1.ecw",​ which does not exist on the file system. When we raise the event for you to supply a stream, we will pass to you the path and filename so you can differentiate the files.//
 +== Parameters ==
 +  * //​pathFileName//​
 +    * Type:String
 +    * Description:​The path and filename of the image file. Note that this need not actually exisit on the file system; see remarks below.
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GeoImage(Stream) **
 +
 +  * //This is the constructor to create a new GeoImage.//
 +== Remarks ==
 +  * //If you have a stream or an image in TIFF format, you can use this constructor to create a GeoImage from it.//
 +== Parameters ==
 +  * //​imageStream//​
 +    * Type:Stream
 +    * Description:​This parameter must be a stream in TIFF format.
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GeoImage(Int32,​Int32) **
 +
 +  * //This is the constructor to create a new GeoImage//
 +== Remarks ==
 +  * //You can use this overload when you want to create a new GeoImage and only want to specify the width and height. You also need to pass in a GeoCanvas that will be used to create the GeoImage.//
 +== Parameters ==
 +  * //width//
 +    * Type:Int32
 +    * Description:​This parameter is the width in pixels for the new GeoImage.
 +
 +  * //height//
 +    * Type:Int32
 +    * Description:​This parameter is the height in pixels for the new GeoImage.
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GeoImage(Object) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +  * //​nativeImage//​
 +    * Type:Object
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +==== Protected Constructors ====
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} GetImageStream(GeoCanvas) ​**
-{{wiki:​PublicMethod.gif|Public Method}}[[#​Close()|Close]] ​  ​| ​   |    | This method closes the GeoImage. It is the same as calling the Dispose. ​  | +
-| {{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}}[[#​GetHeight()|GetHeight]] ​  ​| ​   |    | This method gets the height (in pixels) of this image. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#GetImageStream(GeoCanvas)|GetImageStream]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]] ​  ​| ​   | This method returns the stream of the GeoImage. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetWidth()|GetWidth]] ​  ​| ​   |    | This method gets the width (in pixels) of this image. ​  | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Save(Stream,​ GeoImageFormat)|Save]] ​  | Stream, [[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]] ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Save(Stream)|Save]] ​  | Stream ​  ​| ​   |    | +
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   |+
  
 +  * //This method returns the stream of the GeoImage.//
 +== Remarks ==
 +  * //This method will raise the event that allows the user to supply their own stream. The event is also raised if they do not attempt to open the file specified in the PathFileName property.//
 +
 +== Return Value ==
 +  * Type:Stream
 +  * Description:​This method returns the stream of the GeoImage.
 +
 +== Parameters ==
 +  * //canvas//
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GetWidth() **
 +
 +  * //This method gets the width (in pixels) of this image.//
 +== Remarks ==
 +  * //None.//
 +
 +== Return Value ==
 +  * Type:Int32
 +  * Description:​This method returns the width (in pixels) of this image.
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GetHeight() **
 +
 +  * //This method gets the height (in pixels) of this image.//
 +== Remarks ==
 +  * //None.//
 +
 +== Return Value ==
 +  * Type:Int32
 +  * Description:​This method returns the height (in pixels) of this image.
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} Close() **
 +
 +  * //This method closes the GeoImage. It is the same as calling the Dispose.//
 +== Remarks ==
 +  * //This method closes the GeoImage. It is the same as calling the Dispose.//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​None
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} Save(Stream) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //stream//
 +    * Type:Stream
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} Save(Stream,​GeoImageFormat) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //stream//
 +    * Type:Stream
 +    * Description:​N/​A
 +
 +  * //​geoImageFormat//​
 +    * Type:​[[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]]
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} Dispose() **
 +
 +  * //This is the Dispose for the class.//
 +== Remarks ==
 +  * //This overload will dispose of the stream in the GeoImage and release its resources.//​
 +
 +== Return Value ==
 +  * Type:Void
 +  * Description:​None
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} ToString() **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:String
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:​Boolean
 +  * Description:​N/​A
 +
 +== Parameters ==
 +  * //obj//
 +    * Type:Object
 +    * Description:​N/​A
 +
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GetHashCode() **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Int32
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 +** {{wiki:​PublicMethod.gif|}} GetType() **
 +
 +  * //N/A//
 +== Remarks ==
 +  * //N/A//
 +
 +== Return Value ==
 +  * Type:Type
 +  * Description:​N/​A
 +
 +== Parameters ==
 +<div newline></​div>​
 ==== Protected Methods ==== ==== Protected Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​ProtectedMethod.gif|}} ​Create(Stream) ​**
-{{wiki:​ProtectedMethod.gif|Protected Method}}[[#​CloneCore(GeoImage)|CloneCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]] ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​CreateCore(Stream)|CreateCore]] ​  | Stream ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​CreateCore(Single,​ Single)|CreateCore]] ​  | Single, Single ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​DisposeCore(Object)|DisposeCore]] ​  | Object ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object(overriden) ​  | This is the Dispose method for the class. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetHeightCore(GeoImage)|GetHeightCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]] ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetImageHeightCore(Stream)|GetImageHeightCore]] ​  | Stream ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetImageStreamCore(GeoCanvas)|GetImageStreamCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]] ​  ​| ​   | This method returns the stream of the GeoImage. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetImageWidthCore(Stream)|GetImageWidthCore]] ​  | Stream ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetPixelCore(GeoImage,​ Int32, Int32)|GetPixelCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]],​ Int32, Int32   ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​GetWidthCore(GeoImage)|GetWidthCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]] ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​OnStreamLoading(StreamLoadingEventArgs)|OnStreamLoading]] ​  | [[ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs|StreamLoadingEventArgs]] ​  ​| ​   | This method raises the StreamLoading event, allowing you to specify your own stream. ​  | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​SaveCore(GeoImage,​ Stream, GeoImageFormat)|SaveCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]],​ Stream, [[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]] ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​SaveCore(GeoImage,​ Stream, Guid, Guid, Int64)|SaveCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]],​ Stream, Guid, Guid, Int64   ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​SetPixelCore(GeoImage,​ Int32, Int32, GeoColor)|SetPixelCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]],​ Int32, Int32, [[ThinkGeo.MapSuite.PortableCore.GeoColor|GeoColor]] ​  ​| ​   |    | +
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​SetResolutionCore(GeoImage,​ Single, Single)|SetResolutionCore]] ​  | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]],​ Single, Single ​  ​| ​   |    |+
  
-==== Public Properties ==== +  * //N/A// 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CanvasImageFormat|CanvasImageFormat]] ​  | Guid   ​| ​   | This property returns the image format. ​  | +  * //N/A//
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​FileName|FileName]] ​  | String ​  ​| ​   | This property returns the filename part of the PathFileName. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​NativeImage|NativeImage]] ​  | Object ​  ​| ​   |    | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​PathFilename|PathFilename]] ​  | String ​  ​| ​   | This property returns the path and filename of the image you want to represent. ​  | +
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​PathName|PathName]] ​  | String ​  ​| ​   | This property returns the path part of the PathFileName. ​  |+
  
-==== Protected Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+  * Type:​Object 
 +  * Description:​N/​A
  
-==== Public Events ==== +== Parameters ​== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ +  * //stream// 
-| {{wiki:PublicEvent.gif|Public Event}}[[#​StreamLoading|StreamLoading]] ​  | [[ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs|StreamLoadingEventArgs]] ​  ​| ​   | This event allows you to pass in your own stream to represent the GeoImage. ​  |+    * Type:Stream 
 +    * Description:​N/​A
  
-===== Public Constructors ===== +<div newline></​div>​ 
-==== GeoImage() ==== +** {{wiki:​ProtectedMethod.gif|}} CreateCore(Stream**
-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 PathFileName if you intend to use this constructor. +
-=== Parameters === +
-^  Name ^  Type ^  Description ^+
  
-[[#Public Constructors|Go Back]] +  * //N/A// 
-==== GeoImage(String) ==== +== Remarks == 
-This is the constructor to create a new GeoImage +  ​* //N/A//
-=== Overloads === +
-This constructor allows you to create a drawing image by specifying a PathFileName. +
-=== Remarks ​=== +
-When you specify the path and filename, it should be in the correct format as such; however, the file does not need to exist on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists, then we will attempt to use it. If we cannot find it, then we will raise the SteamLoading event and allow you to supply the stream. For example, you can pass in "​C:​\NotARealPath\File1.ecw",​ which does not exist on the file system. When we raise the event for you to supply a stream, we will pass to you the path and filename so you can differentiate the files. +
-=== Parameters === +
- Name ^  Type ^  Description ^ +
-| pathFileName ​  | String<​!-- System.String --> ​  | The path and filename of the image file. Note that this need not actually exisit on the file system; see remarks below. ​  |+
  
-[[#Public Constructors|Go Back]] +== Return Value == 
-==== GeoImage(Stream) ​==== +  ​Type:Object 
-This is the constructor to create a new GeoImage. +  Description:N/A
-=== Overloads === +
-This overload allows you to pass in a stream, as long as it is in TIFF format. +
-=== Remarks === +
-If you have a stream or an image in TIFF format, you can use this constructor to create a GeoImage from it. +
-=== Parameters === +
-^  Name ^  ​Type ​ ​Description ​+
-| imageStream ​  | Stream<​!-- System.IO.Stream --> ​  | This parameter must be a stream in TIFF format. ​  |+
  
-[[#Public Constructors|Go Back]] +== Parameters == 
-==== GeoImage(Int32,​ Int32) ==== +  ​* //​stream//​ 
-This is the constructor to create a new GeoImage +    * Type:Stream 
-=== Overloads === +    * Description:N/A
-This constructor allows you to create a GeoImage by specifying a width, height and a GeoCanvas. +
-=== Remarks === +
-You can use this overload when you want to create a new GeoImage and only want to specify the width and height. You also need to pass in a GeoCanvas that will be used to create the GeoImage. +
-=== Parameters ​=== +
-^  Name ^  ​Type ​^  ​Description ​+
-| width   | Int32<​!-- System.Int32 --> ​  | This parameter is the width in pixels for the new GeoImage. ​  | +
-| height ​  | Int32<​!-- System.Int32 --> ​  | This parameter is the height in pixels for the new GeoImage. ​  |+
  
-[[#Public Constructors|Go Back]] +<div newline></​div>​ 
-==== GeoImage(Object==== +** {{wiki:​ProtectedMethod.gif|}} Create(Single,​Single**
-=== Parameters === +
-^  Name ^  Type ^  Description ^ +
-| nativeImage ​  | Object<​!-- System.Object --> ​  ​| ​   |+
  
-[[#Public Constructors|Go Back]] +  * //N/A// 
-===== Protected Constructors ===== +== Remarks == 
-===== Public Methods ===== +  * //N/A//
-==== Close() ==== +
-This method closes the GeoImage. It is the same as calling the Dispose. +
-=== Remarks ​=== +
-This method closes the GeoImage. It is the same as calling the Dispose. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Object 
 +  Description:N/A
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +  * //width// 
-==== Dispose() ​==== +    ​* ​Type:Single 
-This is the Dispose for the class. +    ​* Description:​N/​A
-=== 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 === +  * //height// 
-^  Name ^  ​Type ^  ​Description ​^+    ​* ​Type:Single 
 +    * Description:N/A
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --+<div newline></​div
-[[#Public Methods|Go Back]] +** {{wiki:​ProtectedMethod.gif|}} CreateCore(Single,​Single**
-==== Equals(Object==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Object 
-==== GetHashCode() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  ​Description ​^+  ​* //width// 
 +    * Type:Single 
 +    * Description:N/A
  
-<!-- System.Object --> +  * //height// 
-[[#Public Methods|Go Back]] +    * Type:Single 
-==== GetHeight() ==== +    ​* ​Description:N/A
-This method gets the height ​(in pixels) of this image. +
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Int32<​!-- System.Int32 --> ​  | This method returns the height (in pixels) of this image. ​  |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^+** {{wiki:​ProtectedMethod.gif|}} GetWidth(GeoImage) **
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks == 
-==== GetImageStream(GeoCanvas) ==== +  * //N/A//
-This method returns the stream of the GeoImage. +
-=== Remarks ​=== +
-This method will raise the event that allows the user to supply their own stream. The event is also raised if they do not attempt to open the file specified in the PathFileName property. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Stream<​!-- System.IO.Stream --> ​  | This method returns the stream of the GeoImage. ​  |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Int32 
-| canvas ​  | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> ​  ​| ​   |+  Description:N/A
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //image// 
-==== GetType() ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^+** {{wiki:​ProtectedMethod.gif|}} GetWidthCore(GeoImage) **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetWidth() ==== +  * //N/A//
-This method gets the width (in pixels) of this image. +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Int32<​!-- System.Int32 --> ​  | This method returns the width (in pixels) of this image. ​  |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Int32 
 +  Description:N/A
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //image// 
-==== Save(Stream,​ GeoImageFormat) ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}} GetHeight(GeoImage) **
-| stream ​  | Stream<!-- System.IO.Stream --  |    | +
-| geoImageFormat ​  | [[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]]<​!-- ThinkGeo.MapSuite.Portable.GeoImageFormat --> ​  ​| ​   ​|+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== Save(Stream) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Int32 
-| stream ​  | Stream<​!-- System.IO.Stream --> ​  ​| ​   |+  Description:N/A
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#Public Methods|Go Back]] +  * //image// 
-==== ToString() ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| String<​!-- System.String --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^+** {{wiki:​ProtectedMethod.gif|}} GetHeightCore(GeoImage) **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-===== Protected Methods ===== +  * //N/A//
-==== CloneCore(GeoImage) ==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Int32 
-| image   | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   |+  Description:N/A
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#​Protected Methods|Go Back]] +  * //image// 
-==== CreateCore(Stream) ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}} SetPixel(GeoImage,​Int32,​Int32,​GeoColor) **
-| stream ​  | Stream<​!-- System.IO.Stream --> ​  ​| ​   ​|+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== CreateCore(Single,​ Single) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​+  ​Type:Void 
-| width   | Single<​!-- System.Single --> ​  ​| ​   | +  Description:N/A
-| height ​  | Single<​!-- System.Single --> ​  ​| ​   |+
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#​Protected Methods|Go Back]] +  * //image// 
-==== DisposeCore(Object) ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //x// 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:Int32 
-| concrete ​  | Object<​!-- System.Object --> ​  ​| ​   |+    ​* Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //y// 
-[[#​Protected Methods|Go Back]] +    ​* ​Type:Int32 
-==== Finalize() ==== +    ​* Description:​N/​A
-This is the Dispose method for the class. +
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  * //color// 
-^  Name ^  ​Type ^  ​Description ​^+    ​* ​Type:​[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]] 
 +    * Description:N/A
  
-<!-- System.Object(overriden) --+<div newline></​div
-[[#​Protected Methods|Go Back]] +** {{wiki:​ProtectedMethod.gif|}} SetPixelCore(GeoImage,Int32,Int32,GeoColor) **
-==== GetHeightCore(GeoImage) ==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-Int32<!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| image   | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +== Return Value == 
-[[#​Protected Methods|Go Back]] +  ​* ​Type:Void 
-==== GetImageHeightCore(Stream) ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Single<​!-- System.Single --> ​  ​| ​   |+
  
-=== Parameters ​=== +== Parameters == 
-^  Name ^  ​Type ​^  Description ^ +  ​* //image// 
-| imageStream ​  | Stream<​!-- System.IO.Stream --> ​  |    ​|+    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //x// 
-[[#​Protected Methods|Go Back]] +    * Type:Int32 
-==== GetImageStreamCore(GeoCanvas) ==== +    ​* ​Description:N/A
-This method returns the stream of the GeoImage. +
-=== Remarks === +
-This method will raise the event that allows the user to supply their own stream. The event is also raised if they do not attempt to open the file specified in the PathFileName property. +
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Stream<​!-- System.IO.Stream --> ​  | This method returns the stream of the GeoImage. ​  |+
  
-=== Parameters === +  * //y// 
-^  Name ^  ​Type ^  Description ^ +    ​* ​Type:Int32 
-| canvas ​  | [[ThinkGeo.MapSuite.PortableCore.GeoCanvas|GeoCanvas]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoCanvas --> ​  ​| ​   |+    ​* Description:​N/​A
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //color// 
-[[#​Protected Methods|Go Back]] +    * Type:[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]] 
-==== GetImageWidthCore(Stream) ==== +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Single<​!-- System.Single --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}} Clone(GeoImage) **
-| imageStream ​  | Stream<​!-- System.IO.Stream --> ​  ​| ​   ​|+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== GetPixelCore(GeoImage,​ Int32, Int32) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| [[ThinkGeo.MapSuite.PortableCore.GeoColor|GeoColor]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoColor --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​^  Description ^ +  ​Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-| image   ​| ​[[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   | +  * Description:​N/​A
-| j   | Int32<​!-- System.Int32 --> ​  ​| ​   | +
-| i   | Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#​Protected Methods|Go Back]] +  * //image// 
-==== GetWidthCore(GeoImage) ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}} CloneCore(GeoImage) **
-| image   | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== MemberwiseClone() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#​Protected Methods|Go Back]] +  * //image// 
-==== OnStreamLoading(StreamLoadingEventArgs) ​==== +    ​* ​Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-This method raises the StreamLoading event, allowing you to specify your own stream. +    * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ Description ^ +
-| Void<!-- System.Void --> ​  |    ​|+
  
-=== Parameters === +<div newline></​div>​ 
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}} GetPixel(GeoImage,​Int32,​Int32) **
-| e   | [[ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs|StreamLoadingEventArgs]]<!-- ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs --  | This parameter represents the event arguments for the StreamLoading event  ​|+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== SaveCore(GeoImage,​ Stream, GeoImageFormat) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​^  Description ^ +  ​Type:[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]] 
-| image   ​| ​[[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   | +  * Description:​N/​A
-| streamSource ​  | Stream<​!-- System.IO.Stream --> ​  ​| ​   | +
-| imageFormat ​  | [[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]]<​!-- ThinkGeo.MapSuite.Portable.GeoImageFormat --> ​  ​| ​   |+
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#​Protected Methods|Go Back]] +  * //image// 
-==== SaveCore(GeoImage,​ Stream, Guid, Guid, Int64) ==== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-=== Return Value === +    ​* ​Description:N/A
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +  ​* //x// 
-^  Name ^  Type ^  Description ^ +    ​* Type:Int32 
-| image   ​| [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   | +    ​* Description:​N/​A
-| stream ​  | Stream<​!-- System.IO.Stream --> ​  ​| ​   | +
-| jpegCodecInfo ​  | Guid<!-- System.Guid --> ​  ​| ​   +
-| encoderParameters ​  | Guid<!-- System.Guid --> ​  ​| ​   | +
-| jpegQuality ​  | Int64<​!-- System.Int64 --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //y// 
-[[#​Protected Methods|Go Back]] +    * Type:Int32 
-==== SetPixelCore(GeoImage, ​Int32, Int32, GeoColor) ==== +    ​* ​Description:N/A
-=== Return Value === +
-^ Return Type ^ Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +<div newline></div
-^  Name ^  Type ^  Description ^ +** {{wiki:​ProtectedMethod.gif|}} GetPixelCore(GeoImage,​Int32,Int32) **
-| image   | [[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --  |    | +
-| x   | Int32<!-- System.Int32 --  |    | +
-y   ​| ​Int32<!-- System.Int32 --> ​  ​| ​   | +
-| color   | [[ThinkGeo.MapSuite.PortableCore.GeoColor|GeoColor]]<​!-- ThinkGeo.MapSuite.PortableCore.GeoColor --> ​  ​| ​   |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== SetResolutionCore(GeoImage,​ Single, Single) ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​^  Description ^ +  ​Type:[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]] 
-| image   ​| ​[[ThinkGeo.MapSuite.PortableCore.GeoImage|GeoImage]]<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> ​  ​| ​   | +  * Description:​N/​A
-| xDpi   | Single<​!-- System.Single --> ​  ​| ​   | +
-| yDpi   | Single<​!-- System.Single --> ​  ​| ​   |+
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage ​--> +== Parameters == 
-[[#​Protected Methods|Go Back]] +  * //image// 
-===== Public Properties ===== +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
-==== CanvasImageFormat ==== +    * Description:​N/​A
-This property returns the image format. +
-=== Return Value === +
-^ Return Type ^ +
-| Guid<!-- System.Guid --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //j// 
-[[#Public Properties|Go Back]] +    ​* ​Type:Int32 
-==== FileName ==== +    * Description:​N/​A
-This property returns the filename part of the PathFileName. +
-=== Return Value === +
-^ Return ​Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //i// 
-[[#Public Properties|Go Back]] +    ​* ​Type:Int32 
-==== NativeImage ==== +    * Description:​N/​A
-=== Return Value === +
-^ Return ​Type ^ +
-| Object<​!-- System.Object --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --+<div newline></​div
-[[#Public Properties|Go Back]] +** {{wiki:ProtectedMethod.gif|}} Dispose(Object) **
-==== PathFilename ==== +
-This property returns the path and filename of the image you want to represent. +
-=== Remarks === +
-When you specify the path and filename, it should be in the correct format as such; however, the file does not need to exist on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists, then we will attempt to use it. If we cannot find it, then we will raise the SteamLoading event and allow you to supply the stream. For example, you can pass in "C:\NotARealPath\File1.ecw", which does not exist on the file system. When we raise the event for you to supply a stream, we will pass to you the path and filename so you can differentiate the files. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage --> +  * //N/A// 
-[[#Public Properties|Go Back]] +== Remarks ​== 
-==== PathName ==== +  * //N/A//
-This property returns the path part of the PathFileName. +
-=== Return Value === +
-^ Return Type ^ +
-| String<​!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.PortableCore.GeoImage ​--+== Return Value == 
-[[#Public Properties|Go Back]] +  * Type:Void 
-===== Protected Properties ===== +  * Description:​N/​A 
-===== Public Events ​===== + 
-==== StreamLoading ​==== +== Parameters == 
-This event allows you to pass in your own stream to represent the GeoImage. +  * //​concrete//​ 
-=== Remarks ​=== +    * Type:​Object 
-If you choose, you can pass in your own stream to represent the GeoImage. The stream can come from a variety of places, such as isolated storage, a compressed file, or an encrypted stream. When the GeoImage is finished with the stream it will dispose of it, so be sure to keep this in mind when passing the stream in. If you do not pass in an alternate stream, the GeoImage will attempt to load the file from the file system using the PathFileName property. +    * Description:​N/​A 
-=== Event Arguments === + 
-^ Event Arguments ^ +<div newline></​div>​ 
-| [[ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs|StreamLoadingEventArgs]]<​!-- ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs --> ​  |+** {{wiki:​ProtectedMethod.gif|}} DisposeCore(Object) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​concrete//​ 
 +    * Type:​Object 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Save(GeoImage,​Stream,​ImageCodecInfo,​EncoderParameters) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //​stream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +  * //​jpegCodecInfo//​ 
 +    * Type:​ImageCodecInfo 
 +    * Description:​N/​A 
 + 
 +  * //​encoderParameters//​ 
 +    * Type:​EncoderParameters 
 +    * Description:​N/​A 
 + 
 +<div newline></​div
 +** {{wiki:​ProtectedMethod.gif|}} SaveCore(GeoImage,​Stream,​Guid,​Guid,​Int64) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //​stream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +  * //​jpegCodecInfo//​ 
 +    * Type:Guid 
 +    * Description:​N/​A 
 + 
 +  * //​encoderParameters//​ 
 +    * Type:Guid 
 +    * Description:​N/​A 
 + 
 +  * //​jpegQuality//​ 
 +    * Type:​Int64 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Save(GeoImage,​Stream,​GeoImageFormat) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //​stream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +  * //​imageFormat//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} SaveCore(GeoImage,​Stream,​GeoImageFormat) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //​streamSource//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +  * //​imageFormat//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} SetResolution(GeoImage,​Single,​Single) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //xDpi// 
 +    * Type:​Single 
 +    * Description:​N/​A 
 + 
 +  * //yDpi// 
 +    * Type:​Single 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} SetResolutionCore(GeoImage,​Single,​Single) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //xDpi// 
 +    * Type:​Single 
 +    * Description:​N/​A 
 + 
 +  * //yDpi// 
 +    * Type:​Single 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Save(GeoImage,​String) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //image// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +    * Description:​N/​A 
 + 
 +  * //​filename//​ 
 +    * Type:​String 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetImageHeight(Stream) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Single 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​imageStream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetImageHeightCore(Stream) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Single 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​imageStream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetImageWidth(Stream) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Single 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​imageStream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetImageWidthCore(Stream) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Single 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​imageStream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} OnStreamLoading(StreamLoadingEventArgs) ** 
 + 
 +  * //This method raises the StreamLoading event, allowing you to specify your own stream.// 
 +== Remarks == 
 +  * //None// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //e// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.StreamLoadingEventArgs|StreamLoadingEventArgs]] 
 +    * Description:​This parameter represents the event arguments for the StreamLoading event. 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetImageStream() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Stream 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} GetImageStreamCore(GeoCanvas) ** 
 + 
 +  * //This method returns the stream of the GeoImage.//​ 
 +== Remarks == 
 +  * //This method will raise the event that allows the user to supply their own stream. The event is also raised if they do not attempt to open the file specified in the PathFileName property.//​ 
 + 
 +== Return Value == 
 +  * Type:​Stream 
 +  * Description:​This method returns the stream of the GeoImage. 
 + 
 +== Parameters == 
 +  * //​canvas//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Clone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} SetPixel(Int32,​Int32,​GeoColor) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //x// 
 +    * Type:​Int32 
 +    * Description:​N/​A 
 + 
 +  * //y// 
 +    * Type:​Int32 
 +    * Description:​N/​A 
 + 
 +  * //color// 
 +    * Type:​[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Save(String) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​filename//​ 
 +    * Type:​String 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Save(String,​GeoImageFormat) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​filePath//​ 
 +    * Type:​String 
 +    * Description:​N/​A 
 + 
 +  * //​fileFormat//​ 
 +    * Type:​[[ThinkGeo.MapSuite.Portable.GeoImageFormat|GeoImageFormat]] 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Save(Stream,​ImageCodecInfo,​EncoderParameters) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​stream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +  * //​jpegCodecInfo//​ 
 +    * Type:​ImageCodecInfo 
 +    * Description:​N/​A 
 + 
 +  * //​encoderParameters//​ 
 +    * Type:​EncoderParameters 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
 + 
 +  * //This is the Dispose method for the class.// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:Void 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​Object 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}}{{wiki:​Static.gif|}} FromStream(Stream) ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 + 
 +== Return Value == 
 +  * Type:​[[ThinkGeo.MapSuite.Core.GeoImage|GeoImage]] 
 +  * Description:​N/​A 
 + 
 +== Parameters == 
 +  * //​stream//​ 
 +    * Type:​Stream 
 +    * Description:​N/​A 
 + 
 +<div newline></​div>​ 
 +==== Public Properties ==== 
 +** {{wiki:​PublicProperty.gif|}} NativeImage ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:​Object 
 + 
 +** {{wiki:​PublicProperty.gif|}} PathFilename ** 
 + 
 +  * //This property returns the path and filename of the image you want to represent.//​ 
 +== Remarks == 
 +  * //When you specify the path and filename, it should be in the correct format as such; however, the file does not need to exist on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists, then we will attempt to use it. If we cannot find it, then we will raise the SteamLoading event and allow you to supply the stream. For example, you can pass in "​C:​\NotARealPath\File1.ecw",​ which does not exist on the file system. When we raise the event for you to supply a stream, we will pass to you the path and filename so you can differentiate the files.// 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} PathName ** 
 + 
 +  * //This property returns the path part of the PathFileName.//​ 
 +== Remarks == 
 +  * //None// 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} FileName ** 
 + 
 +  * //This property returns the filename part of the PathFileName.//​ 
 +== Remarks == 
 +  * //None// 
 +== Return Value == 
 +  * Type:​String 
 + 
 +** {{wiki:​PublicProperty.gif|}} CanvasImageFormat ** 
 + 
 +  * //This property returns the image format.// 
 +== Remarks == 
 +  * //None// 
 +== Return Value == 
 +  * Type:Guid 
 + 
 +==== Protected Properties ==== 
 +** {{wiki:​ProtectedProperty.gif|}} Width ** 
 + 
 +  * //N/A// 
 +== Remarks == 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:​Int32 
 + 
 +** {{wiki:​ProtectedProperty.gif|}} Height ** 
 + 
 +  * //N/A// 
 +== Remarks ​== 
 +  * //N/A// 
 +== Return Value == 
 +  * Type:​Int32 
 + 
 +==== Public Events ​==== 
 +** {{wiki:​PublicEvent.gif|}} StreamLoading ** 
 +  * //This event allows you to pass in your own stream to represent the GeoImage.// 
 +== Remarks == 
 +  * //If you choose, you can pass in your own stream to represent the GeoImage. The stream can come from a variety of places, such as isolated storage, a compressed file, or an encrypted stream. When the GeoImage is finished with the stream it will dispose of it, so be sure to keep this in mind when passing the stream in. If you do not pass in an alternate stream, the GeoImage will attempt to load the file from the file system using the PathFileName property.//
  
-<​!-- ​ThinkGeo.MapSuite.PortableCore.GeoImage --> +Event Arguments:​[[ThinkGeo.MapSuite.Core.StreamLoadingEventArgs|StreamLoadingEventArgs]]
-[[#Public Events|Go Back]]+
  
-__NOTOC__ 
-[[Category:​MapSuitePortableCore]] 
-[[Category:​ThinkGeo.MapSuite.PortableCore]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.portablecore.geoimage.1440040132.txt.gz · Last modified: 2015/09/21 08:08 (external edit)