next up previous contents
Next: Inquire whether Viewport Up: Viewport Inquiry Subprograms Previous: Inquire Viewport Cursor

Inquire Viewport Dimensions

This Subroutine returns the Dimensions of the specified Viewport in the currently setup Viewport Mode (Text or Graphics).

Short Name Calling Sequence

STATUS = UIIQVD(VPRTID,XLOW,XHIGH,YLOW,YHIGH)

Long Name Calling Sequence

STATUS = UI_INQUIRE_VIEWPORT_DIMENSIONS(...)

Input Arguments

VPRTID (Integer) Viewport ID

Output Arguments

XLOW (Real) X Low Coordinate XHIGH (Real) X High Coordinate YLOW (Real) Y Low Coordinate YHIGH (Real) Y High Coordinate

Function Value

UI__SUCCESS ) Success UISUCC )

UI__NOT_INITIALIZED ) Package not Initialized UININI )

UI__ILLEGAL_VIEWPORT ) Illegal Viewport UIILVP )

Note:

  1. The Dimensions are returned in the Units appropriate for the currently setup Viewport Mode (Text or Graphics).


Liz Buckle
Fri Jan 13 17:49:20 CST 1995