次の方法で共有


BOUNDINGBOXDIST Function

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

Version Information

Version Added: Visio 2010

Syntax

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

Remarks

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