All Cadcorp SIS API Methods

ExportEcw Method

Description

Exports the current view to an Earth Resource Mapping Enhanced Compression Wavelet (ECW) file.

Syntax

Visual Basic
Public Function ExportEcw( _
   ByVal filename As String, _
   ByVal w As Long, _
   ByVal h As Long, _
   ByVal compression As Long _
) As Integer

Parameters

filename
The name of the exported file.
 
w
The width of the ECW image, in pixels.
 
h
The height of the ECW image, in pixels.
 
compression
The target compression ratio.

Remarks

Available: OD

Groups:

Example

sis.ExportEcw ("c:\Raster\map.ecw", 600, 400, 10)

Exports the current view as a 600 by 400 raster image in ECW format with a 10:1 compression ratio.