Cadcorp SIS API Methods

CreateText Method

Description

Creates a Text item. If a Group is open, then graphics are added to the Group, otherwise a new Item is created.

Syntax

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

Parameters

x
The x coordinate position of the alignment point of the Text item.
 
y
The y coordinate position of the alignment point of the Text item.
 
z
The z coordinate position of the alignment point of the Text item.
 
text
The text of the Text item.

Remarks

Available: GEO MM ME MD OM OD OV SISpy

Group:

Example

sis.CreateText (100, 100, 0,"Specified Text" )


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).