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 MM ME MD OD OM SISpy

Groups:

Example

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


Send comments on this topic.

Click to return to www.cadcorp.com

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