CreateBlock

Top  Previous  Next

 

CreateBlock (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 Integers for the objects's handles

sBlockName

String

The block name

xIns

Single

Is the x coordinate of the base point

yIns

Single

Is 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 grater that 8 characters

 

Example