Expand Minimize

BOUNDINGBOXDIST Function

Returns the measurement of the specified part of the shape's bounding box.

Version Added: Visio 2010

BOUNDINGBOXDIST(Index)

Parameters

Name

Required/Optional

Data Type

Description

Index

Required

Number

The part of the shape's bounding box to measure and return. See Remarks for possible values.

Return Value

Number

Index can be one of the following values.

Item

Value

Width

0

Height

1

Left edge to shape pin

2

Shape pin to right edge

3

Shape pin to top edge

4

Bottom edge to shape pin

5

Center of bounding box to PinX

6

Center of bounding box to PinY

7

Show:
© 2014 Microsoft