API Panel.Position.GetBox

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png GetBox
Gets a handle to an object representing the components bounding box position 
Fc9-h32-icon.png - HANDLE Handle
The position or component to read from 
Fc9-h32-icon.png - HANDLE Return


Detailed description

This call gets the objects bounding box position. This can be thought of as the objects size rather than its raw scale value.


The difference between scale and size only applies to objects with child objects, such as groups or compiled components.

Scale and size of the box


Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Panel.Position.GetBox(handle)