![]() |
![]() |
TextRange.Delete
Sub Delete()
Member of TextRange
The Delete method removes the specified characters from the text range.
The following code example deletes the first word in the text range:
Sub Test() Dim d As Document Dim t As Text Dim s As Shape Set d = CreateDocument Set s = d.ActiveLayer.CreateParagraphText(3, 3, 5, 5, "This is an example.") Set t = s.Text t.Story.Words.First.Delete End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.