Using the Process Analyst > Process Analyst for Developers > Automation Model > IObjectView.Height [Property][Get/Set]

IObjectView.Height [Property][Get/Set]

Gets or Sets the height in pixels of the Object View window.

Defined As

Execution Result

If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. A height value less than 0 will be InvalidArgument.

Limits

Remarks

As the ObjectView and chart both share the same window, by enlarging the ObjectView, you make the Chart smaller and vice versa.

Calling Syntax

This example assumes that there is an IObjectView object being passed in as a parameter.

[VBA]

Sub Example(objectView As Object)
Dim height As Long
`Getting Property value
height = objectView.Height
`Setting Property value
objectView.Height = 25
End Sub

[Cicode]

FUNCTION Example(OBJECT hObjectView)
INT nHeight = 0;
// Getting property value
nHeight = _ObjectGetProperty(hObjectView, "Height");
// Setting Property to false
_ObjectSetProperty(hObjectView, "Height", 25);
END