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!
<!– Class –> This class represents the ECW raster source.
This class allows you to access pictures from an ECW file. This class is typically used in the ECWLayer to allow ECW raster images to be shown on your map.
*System.Object ThinkGeo.MapSuite.Core.RasterSource *ThinkGeo.MapSuite.Core.EcwRasterSource ThinkGeo.MapSuite.Core.Jpeg2000RasterSource
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This is the constructor for the class. | ||
![]() | String | This is the constructor for the class. | |
![]() | String, String | This is the constructor for the class. | |
![]() | String, RectangleShape | This is the constructor for the class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | RasterSource | Create a copy of RasterSource using the deep clone process. | |
![]() | RasterSource | This method closes the RasterSource and releases any resources it was using. | |
![]() | Object | Object | |
![]() ![]() | RectangleShape, Int32, Int32 | RasterSource | This method returns a string that represents the image's world file based on the parameters passed in. |
![]() | RasterSource | This method returns the bounding box of the RasterSource. | |
![]() | Object | ||
![]() | RasterSource | This method returns the horizontal resolution of the image. | |
![]() | RectangleShape, Int32, Int32 | RasterSource | This method returns an image based on the worldExtent and image width and height. |
![]() | RasterSource | This method returns the height of the image in screen coordinates. | |
![]() | RasterSource | This method returns the width of the image in screen coordinates. | |
![]() | RasterSource | This method returns the projection text in proj4 format. | |
![]() | Object | ||
![]() | RasterSource | This method returns the vertical resolution of the image. | |
![]() | RasterSource | This method returns a string that represents the image's world file. | |
![]() | RasterSource | This method opens the RasterSource so that it is initialized and ready to use. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | RasterSource | Create a copy of RasterSource using the deep clone process. The default implementation uses serialization. | |
![]() | RasterSource(overriden) | This method opens the ImageSource so that it is initialized and ready to use. | |
![]() | Object | ||
![]() | RasterSource(overriden) | This method returns the bounding box of the RasterSource. | |
![]() | RectangleShape, Int32, Int32 | RasterSource(overriden) | This method returns an image based on the worldExtent and raster image width and height. |
![]() | RasterSource(overriden) | This method returns the height of the raster image in screen coordinates. | |
![]() | RasterSource(overriden) | This method returns the width of the raster image in screen coordinates. | |
![]() | RasterSource(overriden) | This method returns the projection text in proj4 format. | |
![]() | Object | ||
![]() | ClosedRasterSourceEventArgs | RasterSource | This method allows you to raise the ClosedRasterSource event from a derived class. |
![]() | ClosingRasterSourceEventArgs | RasterSource | This method allows you to raise the ClosingRasterSource event from a derived class. |
![]() | OpenedRasterSourceEventArgs | RasterSource | This method allows you to raise the OpenedRasterSource event from a derived class. |
![]() | OpeningRasterSourceEventArgs | RasterSource | This method allows you to raise the OpeningRasterSource event from a derived class. |
![]() | RasterSource(overriden) | This method opens the ImageSource so that it is initialized and ready to use. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Single | RasterSource | This property gets and sets the amount of blue to apply to the image. |
![]() | Single | RasterSource | This property gets and sets the amount of green to apply to the image. |
![]() | Boolean | RasterSource | This property returns true if the RasterSource has projection text, false if not. |
![]() | Boolean | RasterSource | This property gets and sets if the image should be converted to grayscale. |
![]() | Boolean | RasterSource | This property gets and sets whether the image should be converted to negative (inverse colors). |
![]() | Boolean | RasterSource | This property returns true if the RasterSource is open and false if it is not. |
![]() | String | This property gets or sets the file name and path of the ECW raster image you are working with. | |
![]() | Projection | RasterSource | |
![]() | Single | RasterSource | This property gets and sets the amount of red to apply to the image. |
![]() | Single | RasterSource | This property gets and sets the amount of transparency to apply to the image. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Boolean | RasterSource(overriden) | This property returns true if the RasterSource has projection text, false if it does not. |
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | ClosedRasterSourceEventArgs | RasterSource | This event is called after the closing of the RasterSource. |
![]() | ClosingRasterSourceEventArgs | RasterSource | This event is called before the closing of the RasterSource. |
![]() | OpenedRasterSourceEventArgs | RasterSource | This event is called after the opening of the RasterSource. |
![]() | OpeningRasterSourceEventArgs | RasterSource | This event is called before the opening of the RasterSource. |
This is the constructor for the class.
This is the default constructor and is not typically used.
Name | Type | Description |
---|
This is the constructor for the class.
This is the commonly used constructor for the class.
This is typically the constructor you want to use for this class. It allows you to pass in the ECW file you wish to work with. Note that the ECW file is not accessed or opened until you call the open command of the class.
Name | Type | Description |
---|---|---|
imagePathFilename | String<!– System.String –> | This parameter represents the path and file name of the ECW file you want to load into the class for display. |
This is the constructor for the class.
It allows you to pass in the ECW file you wish to work with, as well as its corresponding world file. Note that the ECW file is not accessed or opened until you call the open command of the class.
Name | Type | Description |
---|---|---|
imagePathFilename | String<!– System.String –> | This parameter represents the path and file name of the ECW file you want to load into the class for display. |
worldfilePathFilename | String<!– System.String –> | The corresponding world file name that contains the world file information. |
This is the constructor for the class.
It allows you to pass in the ECW file you wish to work with and its corresponding extent. Note that the ECW file is not accessed or opened until you call the open command of the class.
Name | Type | Description |
---|---|---|
imagePathFilename | String<!– System.String –> | This parameter represents the path and file name of the ECW file you want to load into the class for display. |
imageExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | The corresponding world extent, which can calculate out the world information with the help of width and height from the ECW file. |
Create a copy of RasterSource using the deep clone process.
The difference between deep clone and shallow clone is: when shallow cloned, only the object is copied, but the contained objects are not; while in deep clone it does copy the cloned object as well as all the objects within.
Return Type | Description |
---|---|
RasterSource<!– ThinkGeo.MapSuite.Core.RasterSource –> | A cloned RasterSource. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method closes the RasterSource and releases any resources it was using.
This method is the concrete wrapper for the abstract method CloseCore. The Close method plays an important role in the life cycle of the RasterSource. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called.
If you override the Core version of this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed RasterSource 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.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
<!– static –> This method returns a string that represents the image's world file based on the parameters passed in.
This method returns a string that represents the image's world file. The world file is a file type that can accompany image files. It contains information about the image's position, resolution and other spatial-related items. It is common to have this kind of file associated with generic image types such as JPG, BMP, and normal TIFF because they do not have a mechanism to store this data internally. Modern GIS image types such as JPEG2000, ECW, and MrSid typically have this information stored internally. We provide this method in the event that you want to create your own world file from any image that either already has one or has its data stored internally.
Return Type | Description |
---|---|
String<!– System.String –> | This method returns a string that represents the image's world file based on the parameters passed in. |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | This parameter represents the worldExtent of the image in world coordinates. |
imageWidth | Int32<!– System.Int32 –> | This parameter is the width of the image in screen coordinates. |
imageHeight | Int32<!– System.Int32 –> | This parameter is the height of the image in screen coordinates. |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method returns the bounding box of the RasterSource.
This method returns the bounding box of the RasterSource.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | This method returns the bounding box of the RasterSource. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns the horizontal resolution of the image.
This method returns the horizontal resolution of the image.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Single<!– System.Single –> | This method returns the horizontal resolution of the image. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
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. As the core version of this method is abstract, you will need to override it when creating your own RasterSource.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –> | This method returns an image based on the worldExtent and image width and height. |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | This parameter represents the worldExtent you want to draw. |
canvasWidth | Int32<!– System.Int32 –> | This parameter represents the width of the image you want to draw. |
canvasHeight | Int32<!– System.Int32 –> | This parameter represents the height of the image you want to draw. |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method returns the height of the image in screen coordinates.
This method returns the height of the image in screen coordinates.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Int32<!– System.Int32 –> | This method returns the height of the image in screen coordinates. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method returns the width of the image in screen coordinates.
This method returns the width of the image in screen coordinates.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Int32<!– System.Int32 –> | This method returns the width of the image in screen coordinates. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method returns the projection text in proj4 format.
Return Type | Description |
---|---|
String<!– System.String –> | This method returns the projection text in proj4 format. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns the vertical resolution of the image.
This method returns the vertical resolution of the image.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Single<!– System.Single –> | This method returns the vertical resolution of the image. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method returns a string that represents the image's world file.
This method wraps the Core version of this method and returns a string that represents the image's world file. The world file is a file type that can accompany image files. It contains information about the image's position, resolution and other spatial-related items. It is common to have this kind of file associated with generic image types such as JPG, BMP, and normal TIFF because they do not have a mechanism to store this data internally. Modern GIS image types such as JPEG2000, ECW, and MrSid typically have this information stored internally. We provide this method in the event that you want to create your own world file from any image that either already has one or has its data stored internally.
As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
String<!– System.String –> | This method returns a string that represents the image's world file. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method opens the RasterSource so that it is initialized and ready to use.
This method is the concrete wrapper for the abstract method OpenCore. The Open method plays an important role, as it is responsible for initializing the RasterSource. Most methods on the RasterSource will throw an exception if the state of the RasterSource is not opened. When the map draws each layer, it will open the RasterSource 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 RasterSource.
When implementing the abstract method, consider opening files for file-based sources, 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 RasterSource. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Create a copy of RasterSource using the deep clone process. The default implementation uses serialization.
The difference between deep clone and shallow clone is: when shallow cloned, only the object is copied, but the contained objects are not; while in deep clone it does copy the cloned object as well as all the objects within.
Return Type | Description |
---|---|
RasterSource<!– ThinkGeo.MapSuite.Core.RasterSource –> | A cloned RasterSource. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method opens the ImageSource so that it is initialized and ready to use.
This protected virtual method is called from the concrete 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.
If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method 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.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method returns the bounding box of the RasterSource.
This method returns the bounding box of the RasterSource.
Return Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | This method returns the bounding box of the RasterSource. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
This method returns an image based on the worldExtent and raster image width and height.
This method is responsible for returning the image based on the parameters passed in.
Return Type | Description |
---|---|
GeoImage<!– ThinkGeo.MapSuite.Core.GeoImage –> | This method returns an image based on the worldExtent and raster image width and height. |
Name | Type | Description |
---|---|---|
worldExtent | RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> | This parameter represents the worldExtent you want to draw. |
canvasWidth | Int32<!– System.Int32 –> | This parameter represents the width of the raster image you want to draw. |
canvasHeight | Int32<!– System.Int32 –> | This parameter represents the height of the raster image you want to draw. |
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
This method returns the height of the raster image in screen coordinates.
This method returns the height of the raster image in screen coordinates.
Return Type | Description |
---|---|
Int32<!– System.Int32 –> | This method returns the height of the raster image in screen coordinates. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
This method returns the width of the raster image in screen coordinates.
This method returns the width of the raster image in screen coordinates.
Return Type | Description |
---|---|
Int32<!– System.Int32 –> | This method returns the width of the raster image in screen coordinates. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
This method returns the projection text in proj4 format.
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.
Return Type | Description |
---|---|
String<!– System.String –> | Projection text string. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method allows you to raise the ClosedRasterSource event from a derived class.
You can call this method from a derived class to enable it to raise the ClosedRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event.
Details on the event:
This event is called after the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource and after the protected CloseCore method.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | ClosedRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs –> | This parameter is the event arguments that define the parameters passed to the recipient of the event. |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method allows you to raise the ClosingRasterSource event from a derived class.
You can call this method from a derived class to enable it to raise the ClosingRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event.
Details on the event:
This event is called before the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource, but before the protected CloseCore method.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | ClosingRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs –> | This parameter is the event arguments that define the parameters passed to the recipient of the event. |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method allows you to raise the OpenedRasterSource event from a derived class.
You can call this method from a derived class to enable it to raise the OpenedRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event.
Details on the event:
This event is called after the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource and after the protected OpenCore method is called.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | OpenedRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs –> | This parameter is the event arguments that define the parameters passed to the recipient of the event. |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method allows you to raise the OpeningRasterSource event from a derived class.
You can call this method from a derived class to enable it to raise the OpeningRasterSource event. This may be useful if you plan to extend the RasterSource and you need access to the event.
Details on the event:
This event is called before the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource, but before the protected OpenCore method.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | OpeningRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs –> | This parameter is the event arguments that define the parameters passed to the recipient of the event. |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This method opens the ImageSource so that it is initialized and ready to use.
This protected virtual method is called from the concrete public method Open. The Open method plays 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-sources, 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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
This property gets and sets the amount of blue to apply to the image.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property gets and sets the amount of green to apply to the image.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property returns true if the RasterSource has projection text, false if not.
Before you call GetProjectionText method, you should check this property to ensure that your RasterSource has projection information. It will throw an exception if there is no projection information in the RasterSource.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property gets and sets if the image should be converted to grayscale.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property gets and sets whether the image should be converted to negative (inverse colors).
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property returns true if the RasterSource is open and false if it is not.
Various methods on the RasterSource require that it be in an open state. If one of those methods is called when the state is not open, the method will throw an exception. To enter the open state, you must call the RasterSource's Open method. The method will raise an exception if the current RasterSource is already open.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property gets or sets the file name and path of the ECW raster image you are working with.
If you wish to change the file the class is working with, you would change it here. You cannot change the file you are working with while the class is in an open state.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.Core.EcwRasterSource –> Go Back
Return Type |
---|
Projection<!– ThinkGeo.MapSuite.Core.Projection –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property gets and sets the amount of red to apply to the image.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This property gets and sets the amount of transparency to apply to the image.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
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.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.Core.RasterSource(overriden) –> Go Back
This event is called after the closing of the RasterSource.
This event is called after the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource and after the protected CloseCore method.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Event Arguments |
---|
ClosedRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.ClosedRasterSourceEventArgs –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This event is called before the closing of the RasterSource.
This event is called before the closing of the RasterSource. Technically, this event is called after the calling of the Close method on the RasterSource, but before the protected CloseCore method.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Event Arguments |
---|
ClosingRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.ClosingRasterSourceEventArgs –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This event is called after the opening of the RasterSource.
This event is called after the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource and after the protected OpenCore method is called.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Event Arguments |
---|
OpenedRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.OpenedRasterSourceEventArgs –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
This event is called before the opening of the RasterSource.
This event is called before the opening of the RasterSource. Technically, this event is called after the calling of the Open method on the RasterSource, but before the protected OpenCore method.
It is typical that the RasterSource may be opened and closed may times during the life cycle of your application. The type of control the MapEngine is embedded in will dictate how often this happens. For example, in the case of the Web Edition, each time a RasterSource is in the Ajax or Post Back part of the page cycle, it will close the RasterSource before returning back to the client. This is to conserve resources, as the web is a connection-less environment. In the case of the Desktop Edition, we can keep the RasterSource open, knowing that we can maintain a persistent connection.
Event Arguments |
---|
OpeningRasterSourceEventArgs<!– ThinkGeo.MapSuite.Core.OpeningRasterSourceEventArgs –> |
<!– ThinkGeo.MapSuite.Core.RasterSource –> Go Back
NOTOC MapSuiteCore ThinkGeo.MapSuite.Core UpdateDocumentation
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.