ThisObject Keyword (FPScript)
Provides access to the automation object that executes an embedded FPScript code.
Syntax
ThisObject
Remarks
Within a standard formula object ThisObject refers to this formula object and thus corresponds to This and ThisFPObject. If this is an embedded FPScript code, e.g. in a field for entering calculated results in the text of a cell table, then ThisObject refers to the Automation object that contains the code. In this example, it is the CellTableCell object, which represents the cell in the cell table.
When accessing the object properties to which ThisObject refers, the ThisObject keyword can be omitted.
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
ThisObject.Curves(1).Data.YValueObject.Unit(fpDataComponentY) |
If this code is used in a field to label the Y axis of a 2D diagram, then the code returns the physical unit of the Y component of the data set, which was entered on the "Data" tab of the first curve. |
.Curves(1).Data.YValueObject.Unit(fpDataComponentY) |
The ThisObject keyword can be omitted when accessing object properties. |
See Also
You might be interested in these articles
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information