![]() |
![]() |
TextRange.Characters
Property Characters As TextCharacters
Member of TextRange
The Characters property returns a collection of all of the characters in the range.
The Characters property returns a read-only value.
The following code example applies bold formatting to all of the characters in the paragraph-text object:
Sub Test() Dim d As Document Dim s As Shape Dim t As Text Set d = CreateDocument Set s = d.ActiveLayer.CreateParagraphText(2, 2, 4, 4, "This is an example.") Set t = s.Text t.Story.Characters.All.Bold = True End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.