Canvas > Using Canvas Controls and Objects > Text Tool > Text Tool Methods

Text Tool Methods

Method icon The Text Tool supports the following scripting methods.

See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.

Method Description

AcknowledgeAlarm

The AcknowledgeAlarm method acknowledges an alarm.

DeserializeControl

The DeserializeControl method loads the saved properties into the control.

Equals

The Equals method determines whether the specified object is equal to the current object.

GetHashCode

The GetHashCode method returns a hash code for the current object.

GetType

The GetType method returns the runtime type of the current instance.

Refresh

The Refresh method refreshes the data in the control from the Current Value Service (CVS).

ResolveRelativeFacility

The ResolveRelativeFacility method returns the resolved relative facility.

SerializeObject

The SerializeObject method stores the object in memory so that it can be recreated when needed.

ToString

The ToString method returns a string that represents the current object.


Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.