API Documentation > CorelDRAW > 2025-v26 > TextCharacters > IVGTextCharacters
TextCharacters.Count property
Gets the number of characters in the collection, including paragraph breaks
Syntax:
Property Get Count() As Long
Remarks:
The Count property returns the number of characters in a collection, including paragraph breaks.
Examples:
The following VBA example creates paragraph text and then displays the number of characters it contains.
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