All Cadcorp SIS API Methods

PasteFrom Method

Description

Pastes a file into the current SWD.

Syntax

Visual Basic
Public Function PasteFrom( _
   ByVal filename As String, _
   ByVal bLinked As Integer _
) As Integer

Parameters

filename
The filename to paste.
 
bLinked
True    Create a link to the filename.
False    Paste the contents of the filename.

Remarks

The item created will fill the current view extents, taking the different aspect ratios into account.

Available: D OD OM OV

Group:

Example

sis.PasteFrom ("c:\data\picture.jpg", True)