Object Model Reference : Classes : S : ShapeRange : Properties : ShapeRange.SizeWidth |
Property SizeWidth As Double
Member of ShapeRange
The SizeWidth property returns or specifies the horizontal size of the shapes in a shape range, treating the range as a single object.
• |
See also the ShapeRange.GetSize, ShapeRange.SetSize, ShapeRange.SetSizeEx,
ShapeRange.GetBoundingBox, and ShapeRange.SetBoundingBox methods.
|
The following VBA example stretches all shapes on the active layer so that the shape range is 2" wide.
Sub Test() |
ActiveLayer.Shapes.All.SizeWidth = 2 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.