How to Get size of View Boundaries?

When the pointer passes over the edge of a drawing view, the view boundary is highlighted. The boundaries are tightly fitted around the view by default; you cannot manually resize them. If you add sketch entities to a drawing view, the boundary automatically resizes to include these items. The boundary does not resize to include dimensions or annotations. View boundaries, and the views they contain, can overlap.

Examples of drawing view boundaries:

Target

void ModelDoc2.SketchRectangle ( val1, val2, z1, val3, val4, z2, val5)

Input:

(double) val1

Upper-left x value in meters

Input:

(double) val2

Upper-left y value in meters

Input:

(double) z1

Upper-left z value in meters

Input:

(double) val3

Lower-right x value in meters

Input:

(double) val4

Lower-right y value in meters

Input:

(double) z2

Lower-right z value in meters

Input:

(BOOL) val5

Not used

Draw Rectangle boundaries equal  View Boundaries

Thanks

SolidworksApi macros