All Cadcorp SIS API Methods

ExportRaster Method

Description

Exports raster data using a Plug-in Exporter

Syntax

Visual Basic
Public Function ExportRaster( _
   ByVal clsExport As String, _
   ByVal filename As String, _
   ByVal parameters As String _
) As Integer

Parameters

clsExport

Use this Plug-in Exporter class

To Export to:

ENVI (*.evi)

"ENVI_GDALExporter"

ERDAS IMAGINE (*.img)

"HFA_GDALExporter"

GIF (*.gif)

"GIF_GDALExporter"

JPEG (Grayscale) (*.jpg)

"JPEGGrayscale_GDALExporter"

JPEG (RGB) (*.jpg)

"JPEG_GDALExporter"

JPEG 2000 (*.jp2;*.j2k;*.jpc;*.jpx;*.j2c)

"JP2KAK_GDALExporter"

NITF (*.ntf)

"NITF_GDALExporter"

PCI Geomatics Database File (*.pix)

"PCIDSK_GDALExporter"

PNG (Grayscale) (*.png)

"PNGGrayscale_GDALExporter"

PNG (Palette) (*.png)

"PNGPalette_GDALExporter"

PNG (RGB/RGBA) (*.png)

"PNG_GDALExporter"

TIFF (B&W) (*.tif)

"GTiffBlackandWhite_GDALExporter"

TIFF (Grayscale) (*.tif)

"GTiffGrayscale_GDALExporter"

TIFF (Palette) (*.tif)

"GTiffPalette_GDALExporter"

TIFF (RGB/RGBA) (*.tif)

"GTiff_GDALExporter"

filename

The name of the exported file. 

parameters

Optional parameters used to configure the Plug-in Exporter. There must be no spaces in Parameters.

Parameters common to all formats:

RASTER SIZE: width, height (the raster size range is format-specific)

Export to Files

Export to Database

 

Remarks

Available: D OD OM SISpy

Groups: