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: MD 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.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).