Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
This class represents the MrSid raster source.
N/A
This is typically the constructor you want to use for this class. It allows you to pass in the MrSid file you wish to work with. Note that the MrSid file is not accessed or opened until you call the open command of the class.
MrSidRasterSource(String,String)
This is the constructor for the class.
This is typically the constructor you want to use for this class. It allows you to pass in the MrSid file and world file path and filename you wish to work with. Note that the MrSid file is not accessed or opened until you call the open command of the class.
MrSidRasterSource(String,RectangleShape)
This is a constructor for the class.
This constructor gets the RasterSource ready to use.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This method returns the width of the image in screen coordinates.
This method returns the height of the image in screen coordinates.
This protected virtual method is called from the concreate public method Open. The open method play an important role as it is responsible for initializing the ImageSource. Most methods on the ImageSource will throw an exception if the state of the ImageSource is not opened. When the map draws each layer it will open the ImageSource as one of its first steps, then after it is finished drawing with that layer it will close it. In this way we are sure to release all resources used by the ImageSource. When implementing this abstract method consider opening files for file based source, connecting to databases in the database based sources and so on. You will get a chance to close these in the Close method of the ImageSource.
This protected virtual method is called from the concreate public method Close. The close method plays an important role in the life cycle of the ImageSource. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. It is recommended that if you override this method that you take the following things into account. This method may be called multiple times so we suggest you write the so that that a call to a closed FeatureSource is ignored and does not generate an error. We also suggest that in the close you free all resources that have been opened. Remember that the object will not be destroyed but will be re-opened possibly in the near future. This API will only take effect when the suppressClose are set to false.
This protected virtual method is called from the concrete public method GetProjectionText.The default implementation of this core method is to load the projection information from the ECW file and return the projection information in proj4 projection string format.
GetImageCore(RectangleShape,Int32,Int32)
This method returns an image based on the worldExtent and image width and height.
This method is responsible for returning the image based on the parameters passed in.
This method returns the bounding box of the RasterSource.
This method returns the bounding box of the RasterSource.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This property gets or sets the file name and path of the MrSid image you are working with.
If you wish to change the file the class is working with you would want to change it here. You cannot change the file you are working with while the class is in an open state.
If set the SuppressClose to ture, then the RasterSource will not be closed even you call the Close API.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This property returns true if the RasterSource has projection text, false if it does not.
This protected virtual method is called from the concrete public property HasProjectionText. Thus, if you inherit RasterSource, please ensure that you override this virtual property to return the correct projection status of your raster source.We will check the HasProjectionText status before you call the GetProjectionText method. It will throw an exception if the HasProjectionText property returns false.
N/A
Event Arguments:ClosedRasterSourceEventArgs
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.