API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.TextWrapOffset property
Returns or sets the text wrap offset
Syntax:
Property Get TextWrapOffset() As Double
Property Let TextWrapOffset(ByVal Value As Double)
Remarks:
The TextWrapOffset property returns or specifies the offset of wrapped text from its object.
Examples:
The following VBA example wraps the paragraph text around the ellipse and offsets the text 0.5" from the ellipse.
Sub Test()
Dim ell As Shape
ActiveLayer.CreateParagraphText 1, 1, ActivePage.SizeWidth - 1, _
  ActivePage.SizeHeight - 1, String$(2000, "a"), , , , 24
Set ell = ActiveLayer.CreateEllipse(2, 9, 6, 4)
ell.WrapText = cdrWrapContourStraddle
ell.TextWrapOffset = 0.5 
End Sub