API Documentation > CorelDRAW > 2025-v26 > Text > IVGText
Text.BeginEdit method
Sets the text editing state
Syntax:
Sub BeginEdit()
Remarks:
The BeginEdit method sets the editing state for text.
Examples:
The following VBA example creates paragraph text and places the text 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 
End Sub