All Cadcorp SIS API Methods

SaveBitmap Method

Description

Saves the current open Bitmap item to a file.

Syntax

Visual Basic
Public Function SaveBitmap( _
   ByVal filename As String, _
   ByVal typeBitmap As Integer _
) As Integer

Parameters

filename
The named of the saved file.
 
typeBitmap
The bitmap format to use.
SIS_SAVEBMP_BMP   A Windows Bitmap of the same colour depth as the system graphics. See Bitmap.
SIS_SAVEBMP_DITHERBMP   An 8-bit, 256 colour Windows Bitmap. See Dithered Bitmap.
SIS_SAVEBMP_JPG   24-bit, 16.7 million colour JPEG. See JPEG.
SIS_SAVEBMP_PNG   8-bit, 256 colour or 24-bit, 16.7 million colour Portable Network Graphics. See PNG bitmap.
SIS_SAVEBMP_TIFF   Tagged Image File Format.
SIS_SAVEBMP_TIFF_LZW   Tagged Image File Format using LZW compression.

Remarks

Available: GEO D OD OM SISpy

Groups:

Example

sis.SaveBitmap ("d:\dataphoto.bmp", SIS_SAVEBMP_BMP)