| Maptitude GISDK Help |
Gets the display and interpolation specifications of an image layer.
direction = GetImageLayerOptions(string layer_name, aray options)
| Argument | Contents |
|---|---|
| layer_name | The name of the image layer |
An options array with ikmage parameter specifications.
| Specification | Type | Contents |
|---|---|---|
| Contrast | Real | A real number in the range 0(white) to 1.0 (normal) |
| Scale Down Smoothing | Integer | The maximal number of original pixelsused for interpolating a singlescreen pixel when the screen resolution is lowerthan the original image resolution |
| Interpolation Mode | Integer | Indicates the method used for interpolating extra pixels when the screen resolution is higher than the original image resolution. Possible modes: 0 or 1 - Nearest Neighbor 2 - Bilinear 3 - High Quality Bilinear 4 - Bicubic 5 - High Quality Bicubic |
| Transparency | Real | A value in the range 0 (opaque) to 1(fully transparent) |
| Transparent Color | Array | A two-element array where the first element is a Color and the second is a number in the range 0 to 1.00The color describes thetransparent color and the number determines the variance to extendit to nearby colors (0.0 means just the color, 1.0 meansthe entire color spectrum). |
scale_down_smoothing <= 1 means no smoothing
Each screen pixel is a copy of a single original pixel. For any other value of scale_down_smoothing = n, each screen pixel is a mixture of up to n*n original pixels
specs = GetImageLayerOptions("My Image")
| Error Type | Meaning |
|---|---|
| NotFound | The layer does not exist |
| Function | Summary |
|---|---|
| SetImageLayerOptions() | Sets the display and interpolation specifications of an image layer |
| ©2025 Caliper Corporation | www.caliper.com |