GetDeviceRect Method

Returns the shape's current bounding rectangle in device coordinates.

Syntax

object.GetDeviceRect plTop, plLeft, plBottom, plRight

Properties

The GetDeviceRect method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

plTop

Long. Returns the top position of the bounding rectangle.

plLeft

Long. Returns the left position of the bounding rectangle.

plBottom

Long. Returns the bottom position of the bounding rectangle.

plRight

Long. Returns the right position of the bounding rectangle.

 

Example

Applies To