All Cadcorp SIS API Methods

CreateLineText Metho

Description

Creates a LineText item using the current open LineString item.

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

Syntax

Visual Basic
Public Function CreateLineText( _
   ByVal text As String _
) As Integer

Parameters

text
The text of the LineText item.

Remarks

If a group is open, graphics are added to the group, otherwise a new item is created. To adjust appearance of text, alignment, or spacing, modify the appropriate item property.

Available: GEO D OM OD SISpy

Group:

Example

sis.CreateLineText ("Major Roads")