API Documentation > CorelDRAW > 2025-v26 > Text > IVGText
Text.IsEditing property
Gets the text editing state
Syntax:
Property Get IsEditing() As Boolean
Remarks:
The IsEditing property returns the editing state of text.
Examples:
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