Object Model Reference : Classes : T : Text : Properties : Text.IsEditing |
Property IsEditing As Boolean
Member of Text
The IsEditing property returns the editing state of text.
The IsEditing property returns a read-only value.
The following VBA example creates paragraph text, places the text in the editing mode, and displays a message box confirming that the text is in the editing mode.
Sub Test() |
Dim d As Document |
Dim s As Shape |
Dim t As Text |
Set d = CreateDocument |
Set s = d.ActiveLayer.CreateParagraphText(3, 3, 7, 7, "This is a test.") |
Set t = s.Text |
t.BeginEdit |
If t.IsEditing Then |
MsgBox "The text shape is in edit mode." |
End If |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.