Previous Document Next Document

Object Model Reference : Classes : S : Shape : Properties : Shape.WrapText


Shape.WrapText

Property WrapText As cdrWrapStyle

Description

Member of Shape

The WrapText property returns or specifies a style when wrapping paragraph text.

VBA example

The following VBA example wraps the paragraph text around 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
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.