CreateBlock
MethodCreateBlock (Method)
Creates a block
Syntax:
Function CreateBlock(lHandles() As Integer, sBlockName As String, xIns As Single, yIns As Single) As Integer
The CreateBlock method syntax consists of the following:
Parameter |
Data Type |
Description |
lHandles() |
Integer |
An array of integer object handles |
sBlockName |
String |
The block name |
xIns |
Single |
The x coordinate of the base point |
yIns |
Single |
The y coordinate of the base point |
Return value:
Integer - An Avax handle on success, zero on error.
Remarks:
The name of the block must not have length greater than 8 characters