Previous Document Next Document
ShapeRange.SizeWidth

Property SizeWidth As Double

Member of ShapeRange

The SizeWidth property returns or sets the horizontal size of the shapes in the range, treating the group of shapes as a single object.

See also the GetSize, SetSize, SetSizeEx, GetBoundingBox, and SetBoundingBox methods.

The following code example stretches all of the shapes on the active layer so that the range of shapes is 2" wide:

Sub Test() 
 ActiveLayer.Shapes.All.SizeWidth = 2 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.