ComputeMBB Method (View Object)

Scope: Schematic editor

Object: View Object

Prerequisites: None

Sets the values of the four coordinate values to define the page bounding box.

Usage

View.ComputeMBB(ByVal OLEItems As Boolean, Xmin As Long, Ymin As Long, Xmax As Long, Ymax As Long)

Arguments

OLEItems

Determines whether or not the bounding box is calculated to include any objects outside the page.

True - the bounding box is calculated to include outside objects. False - the bounding box remains within the page.

Xmin

Specifies the minimum X value of the page bounding box.

Ymin

Specifies the minimum Y value of the page bounding box.

Xmax

Specifies the maximum X value of the page bounding box.

Ymax

Specifies the maximum Y value of the page bounding box.

Description

The page bounding box is normally the size of the page. However; if there is an object imbedded outside the normal page edges and OLEItems is TRUE the MBB will be adjusted to enclose this object as well.