All Cadcorp SIS API Methods

ExportBmp Method

Description

Exports the current view to a Windows Bitmap (BMP) file.

Syntax

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

Parameters

filename
The name of the exported file.
 
bMono
True Create a black-and-white bitmap.
False Create a bitmap of the same colour depth as the system graphics.
 
w
The width of the bitmap in pixels.
 
h
The height of the bitmap in pixels.

Remarks

Available: D OD OM SISpy

Groups:

Example

sis.ExportBmp ("c:\data\planning.bmp", False, 1024, 1024)