Previous Document Next Document

Object Model Reference : Classes : T : Text : Properties : Text.IsEditing


Text.IsEditing

Property IsEditing As Boolean

Description

Member of Text

The IsEditing property returns the editing state of text.

The IsEditing property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.