API Documentation
>
CorelDRAW
>
2025-v26
>
ShapeRange
>
IVGShapeRange
ShapeRange.SizeWidth property
Gets or sets the width of the shape range on the page
Syntax:
Property
Get
SizeWidth
(
)
As
Double
Property
Let
SizeWidth
(
ByVal
Value
As
Double
)
Remarks:
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.
Examples:
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