PasteFromClipboard
MethodPasteFromClipboard (Method)
Imports into the drawing the contents of the Clipboard
Syntax:
Function PasteFromClipboard(xBase As Single, yBase As Single, dx As Single, dy As Single, zOrder As Integer, vItemProperties As Object, iLayer As Short, nMapMode As Integer) As Integer
The PasteFromClipboard method syntax consists of the following:
Parameter |
Data Type |
Description |
xBase |
Single |
The x coordinate of the insertion point |
yBase |
Single |
The y coordinate of the insertion point |
dx |
Single |
The width of the drawing that will be inserted |
dy |
Single |
The height of the drawing that will be inserted |
zOrder |
Integer |
The new object's elevation in the whole drawing |
vItemProperties |
Object |
A string array of properties for the new object |
iLayer |
Short |
The layer number |
nMapMode |
Integer |
The API map mode |
Return value:
Integer - An Avax handle on success, zero on error.
Remarks:
If dx=dy=0 then the program will calculate the width and height in accordance with the AVAX property AvaxProp.PrintUnit_MM_p