API Documentation > CorelDRAW > 2025-v26 > Text > IVGText
Text.Overflow property
Determines whether or not the text overflows the chain of linked text frames
Syntax:
Property Get Overflow() As Boolean
Remarks:
The Overflow property returns True if the amount of text in a chain of linked paragraph-text frames exceeds the space available.
Examples:
The following VBA example adjusts the height of a paragraph-text frame to accommodate any overflowing text.
Sub Test()
Dim s As Shape
ActiveDocument.ReferencePoint = cdrTopLeft
For Each s In ActiveDocument.ActivePage.Shapes
  If s.Type = cdrTextShape Then

 If s.Text.Type = cdrParagraphText Then


If s.Text.Overflow Then AdjustFrame s


End If

 End If
  Next s

End Sub
Private Sub AdjustFrame(s As Shape)
  Dim h As Double
  h = s.SizeHeight / 10
  While s.Text.Overflow

 s.SizeHeight = s.SizeHeight + h
  Wend

End Sub