ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
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.
This class allows you to view standard .NET GDI+ image types such as BMP, TIF, JPG, and PNG.
GdiPlusRasterSource(String,String)
GdiPlusRasterSource(String,RectangleShape)
GetImageCore(RectangleShape,Int32,Int32)
GetWrappingImageRight(RectangleShape,Double,Double,RectangleShape)
You can set this property to show the negative of the image.
This property allows you to show the image in grayscale.
None
None
This property returns the path and filename of the image you want to represent.
When you specify the path and filename, it should be in the correct format as such; however, the file does not need to actually 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, 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.jpg” 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.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
If you wish, you can pass in your own stream to represent the image. The stream can come from a variety of places, including isolated storage, a compressed file, or an encrypted stream. When the image 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 class will attempt to load the file from the file system using the PathFileName property.
Event Arguments:StreamLoadingEventArgs
N/A
Event Arguments:ClosedRasterSourceEventArgs