Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.SetTextString


CorelScript.SetTextString

Function SetTextString(FirstSelectedChar As Long, LastSelectedChar As Long, Text As String) As Long

Description

Member of CorelScript

The SetTextString method changes the text in a selected text object.

 
The CorelScript.CreateTextString and CorelScript.SelectObjectsInRect methods must be called before this method.

Parameter
Description
FirstSelectedChar
Specifies the starting character of the selected text. The first character in a string is equal to 0.
LastSelectedChar
Specifies the ending character of the selected text
Text
Specifies the new text string. The maximum length of the string is 255 characters.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.