All Cadcorp SIS API Methods

SwdSaveAsPwd Method

Description

Saves the current SIS Workspace Definition (SWD) as a Published Window Definition (PWD). A PWD file is a Published Window Definition for viewing with Map Express.

Syntax

Visual Basic
Public Function SwdSaveAsPwd( _
   ByRef filename As String _
) As Integer

Parameters

filename
The new name for the PWD.

Remarks

Available: D

Groups:

Example

sis.SwdSaveAsPwd ("c:\My Documents\Town Plan.pwd")

Saves the current SWD as a PWD with the name c:\My Documents\Town Plan.pwd

To save this SWD as a PWD in SIS version 6 format:

sis.SwdSaveAsPwd ("c:\My Documents\Town Plan.pwd?format=V6")