Description

A method used to set both the ClientWindowHeight and ClientWindowWidth properties with a single call.

Return Type

None  

Syntax

object.SetClientWindowSize lWidth, lHeight

The SetClientWindowSize Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McView.
lWidthRequired. A Long value.
lHeightRequired. A Long value.

Remarks

This is the size, in screen coordinates, of the viewer's display client window, including scrollbars, if visible.

Exceptions

E_INVALIDARG -- window too small