Size

The Size method sets the size of the objects in the selection equal to the width and/or height of the reference object.

Syntax

object. Size( Method )

Parameter

Type

Description

Method

SrfSizing

required, specifies sizing method as same width, same height, or both.

Remarks

The reference object is the object with the largest index value in the plot documents' shapes collection.

Example

The following example demonstrates how to select three objects and set their size to the same height.

'select three shapes

Plot.Shapes.Item(1).Select

Plot.Shapes.Item(2).Select

Plot.Shapes.Item(3).Select

 

'set the size to the same height

Plot.Selection.Size (srfSameHeight)

Used by: Selection collection