CopyToClipboard

Top  Previous  Next

 

CopyToClipboard (Method)

 

Copies objects to the Clipboard

 

Syntax:

Function CopyToClipboard(lWidth As Integer, lHeight As Integer, fSelected As Boolean, xMin As Single, yMin As Single, xMax As Single, yMax As Single, sScale As Single) As Boolean

 

The CopyToClipboard method syntax consists of the following:

Parameter

Data Type

Description

lWidth

Integer

Is the width of the copied drawing

lHeight

Integer

Is the height of the copied drawing

fSelected

Boolean

A Boolean expression that If it is true then only the selected objects are copied to the Clipboard

xMin

Single

Is the x coordinate of the bottom left drawing extents that will be copied

yMin

Single

Is the y coordinate of the bottom left drawing extents that will be copied

xMax

Single

Is the x coordinate of the top right drawing extents that will be copied

yMax

Single

Is the x coordinate of the top right drawing extents that will be copied

sScale

Single

Is the scale of the objects

 

Return value:

Boolean - True on success, false on error.

 

Remarks:

If xMin, yMin, xMax, yMax are zero, then the whole drawing will be copied to the Clipboard

 

Example