![]() |
![]() |
Shape.Stretch
Sub Stretch(StretchX As Double, [StretchY As Double], [StretchCharactersSize As Boolean = False])
Member of Shape
The Stretch method stretches a shape relative to the reference point specified by the Document.ReferencePoint property.
The following code example stretches each shape on the current layer by 200%, relative to each shapes center:
Sub Test() Dim s As Shape ActiveDocument.ReferencePoint = cdrCenter For Each s In ActiveLayer.Shapes s.CreateSelection s.Stretch 2 Next s End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.