ThinkGeo.MapSuite.Layers.MrSidRasterSource
Inheritance Hierarchy
Members Summary
Public Constructors
MrSidRasterSource()
Parameters
MrSidRasterSource(String)
Parameters
MrSidRasterSource(String,String)
Parameters
MrSidRasterSource(String,RectangleShape)
Parameters
Protected Constructors
Public Methods
Dispose()
Return Value
Type:Void
Description:N/A
Parameters
CloneDeep()
Return Value
Parameters
GetWorldFileText()
Return Value
Type:String
Description:N/A
Parameters
GetImageWidth()
Return Value
Type:Int32
Description:N/A
Parameters
GetImageHeight()
Return Value
Type:Int32
Description:N/A
Parameters
GetHorizontalResolution()
Return Value
Type:Single
Description:N/A
Parameters
GetVerticalResolution()
Return Value
Type:Single
Description:N/A
Parameters
GetBoundingBox()
Return Value
Parameters
GetProjectionText()
Return Value
Type:String
Description:N/A
Parameters
Open()
Return Value
Type:Void
Description:N/A
Parameters
Close()
Return Value
Type:Void
Description:N/A
Parameters
GetImage(RectangleShape,Int32,Int32)
Return Value
Parameters
canvasWidth
Type:Int32
Description:N/A
canvasHeight
Type:Int32
Description:N/A
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
Protected Methods
GetImageWidthCore()
Return Value
Parameters
GetImageHeightCore()
Return Value
Parameters
OpenCore()
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.
Return Value
Type:Void
Description:None
Parameters
CloseCore()
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.
Return Value
Type:Void
Description:None
Parameters
GetProjectionTextCore()
Return Value
Parameters
GetImageCore(RectangleShape,Int32,Int32)
Return Value
Parameters
GetBoundingBoxCore()
Return Value
Parameters
OnOpeningRasterSource(OpeningRasterSourceEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnChangedSourceStatus(ChangedSourceStatusEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnOpenedRasterSource(OpenedRasterSourceEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnClosingRasterSource(ClosingRasterSourceEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnClosedRasterSource(ClosedRasterSourceEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
CloneDeepCore()
Return Value
Parameters
GetWrappingImageLeft(RectangleShape,Double,Double,RectangleShape)
Return Value
Parameters
screenWidth
Type:Double
Description:N/A
screenHeight
Type:Double
Description:N/A
GetWrappingImageRight(RectangleShape,Double,Double,RectangleShape)
Return Value
Parameters
screenWidth
Type:Double
Description:N/A
screenHeight
Type:Double
Description:N/A
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
PathFilename
Return Value
SuppressClose
If set the SuppressClose to ture, then the RasterSource will not be closed even you call the Close API.
Return Value
Projection
Return Value
Transparency
Return Value
BlueTranslation
Return Value
RedTranslation
Return Value
GreenTranslation
Return Value
IsNegative
Return Value
IsGrayscale
Return Value
ScaleFactor
Return Value
IsOpen
Return Value
HasProjectionText
Return Value
Protected Properties
HasProjectionTextCore
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.
Return Value
Public Events
OpeningRasterSource