![]() |
![]() |
TextCharacters.Count
Property Count As Long
The Count property returns the number of characters in the collection, including paragraph breaks.
The Count property returns a read-only value.
The following code example creates paragraph text and then displays the number of characters that are in the text:
Sub Test() Dim s As Shape Dim d As Document Dim t As Text Set d = CreateDocument Set s = d.ActiveLayer.CreateParagraphText(2, 2, 8, 8, _ "This is a test.") Set t = s.Text MsgBox t.Story.Characters.Count End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.