BlockSelect

BlockSelect method selects all shapes within the specified rectangle.

Syntax

object.BlockSelect( left, top, right, bottom )

Parameter

Type

Default

Description

left

Double

required; This provides the left coordinate of the rectangle in page units.

top

Double

required; This provides the top coordinate of the rectangle in page units.

right

Double

required; This provides the right coordinate of the rectangle in page units.

bottom

Double

required; This provides the bottom coordinate of the rectangle in page units.

Example 1

This example demonstrates how to select all objects located within a specified rectangle.

Shapes.BlockSelect(Left:=1, top:=9, Right:=7.5, bottom:=1)

Example 2

This script displays all the methods and properties in the Shapes collection.

Used by: Shapes collection