Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IPane​.FixedHeight [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or Sets whether this pane has a fixed height.

Defined As

  • [VBA] Boolean FixedHeight

  • [Cicode] INT FixedHeight

  • [C++] VARIANT_BOOL FixedHeight

Execution Result

If the property get/set succeeds, the return value will be Success. If the pane is deleted, the return value will be GeneralFailure.

Limits

  • True (-1): Height is fixed

  • False (0): Height is variable

Remarks

When this property is true, the pane's Height reflects the pixel value size as gotten from the Pane's Height property. If the FixedHeight property is false, the Height property value is used as a ratio of the available `Variable' real estate (all the left over room in the Process Analyst after Fixed Height panes have been added) which is shared out between the Variable Height panes.

Calling Syntax

This example assumes there is a valid Pane object to be passed into the example methods.

[VBA]

Sub Example(pane As Object)
Dim fixedHeight As Boolean
`Getting Property value
fixedHeight = pane.FixedHeight
`Setting Property value
pane.FixedHeight = True
End Sub

[Cicode]

FUNCTION Example(OBJECT hPane)
// Getting property value
INT bFixedHeight = _ObjectGetProperty(hPane, "FixedHeight");
// Setting property value
_ObjectSetProperty(hPane, "FixedHeight", -1);
END

See Also

IPane.Height [Property][Get/Set]

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in