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

Groups:

Example

sis.ExportPng ("c:\Raster\map.png", 1024, 1024)


Send comments on this topic.

Click to return to www.cadcorp.com

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