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

AVEVA™ Plant SCADA

IProcessAnalyst​.DisplaySize[Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or sets the size of graphical elements in the control’s design and runtime surfaces.

Defined As

  • [VBA] Long DisplaySize

  • [Cicode] INT DisplaySize

  • [C++] DisplaySize DisplaySize

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
Dim displaySize As Long

‘Getting Property value
displaySize = myPage_AN35.DisplaySize
‘Setting Property value
myPage_AN35.DisplaySize = 1
End Sub

[Cicode]

FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");

// Getting property value
INT nDisplayMode = _ObjectGetProperty(hProcessAnalyst, "DisplaySize");
// Setting property value
_ObjectSetProperty(hProcessAnalyst, "DisplaySize", 1);
END

See Also

DisplaySize[Enumeration]

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