All Cadcorp SIS API Methods

CreateBoxText Method

Description

Creates a BoxText item in real world units.

Syntax

Visual Basic
Public Function CreateBoxText( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal z As Double, _
   ByVal h As Double, _
   ByVal text As String _
) As Integer

Parameters

x
The x position of the alignment point of the BoxText item.

y
The y position of the alignment point of the BoxText item.
 
z
The z position of the alignment point of the BoxText item.
 
h
The height in metres of the BoxText item.
 
text
The text of the BoxText item.

Remarks

When printed it maintains its actual proportions to the surrounding graphics. This API method respects the axes angle setting.

This means that the x, y and z positions are interpreted within the axes and all new items created will align to the axes angle. If a group is open, graphics are added to the group, otherwise a new item is created.

Available: GEO D   OD OM SISpy

Group:

Example

sis.CreateBoxText (10, 10, 0, 5, "BoxText")