Add_AngularDim

Top  Previous  Next

 

Add_AngularDim (Method)

 

Use this method if you want to add an angle into the drawing

 

Syntax:

Function Add_AngularDim(ax1 As Single, ay1 As Single, ax2 As Single, ay2 As Single, bx1 As Single, by1 As Single, bx2 As Single, by2 As Single, xDim As Single, yDim As Single, vItemProperties As Object, vRetHandles As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Boolean

 

The Add_AngularDim method syntax consists of the following:

Parameter

Data Type

Description

ax1

Single

Is the x coordinate of the first point of the first line of the angle

ay1

Single

Is the y coordinate of the first point of the first line of the angle

ax2

Single

Is the x coordinate of the second point of the first line of the angle

ay2

Single

Is the y coordinate of the second point of the first line of the angle

bx1

Single

Is the x coordinate of the first point of the second line of the angle

by1

Single

Is the y coordinate of the first point of the second line of the angle

bx2

Single

Is the x coordinate of the second point of the second line of the angle

by2

Single

Is the y coordinate of the second point of the second line of the angle

xDim

Single

Is the x coordinate of a point that exists in the angle

yDim

Single

Is the y coordinate of a point that exists in the angle

vItemProperties

Object

Is a string array with properties for the new objects

vRetHandles

Object

Returns an integer array with the handles of the new objects

iClr

Short

Is the color index number

iWidth

Short

Is the pen width

iStyle

Short

Is the line type

iLayer

Short

Is the layer number

 

Return value:

Boolean - True on success, false on error.

 

Example