All Cadcorp SIS API Methods

ExportPng Method

Description

Exports the current view to a Portable Network Graphics (PNG) file.

Syntax

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

Parameters

filename
The name of the exported file.
 
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.ExportPng ("c:\Raster\map.png", 1024, 1024)