Developer

API Reference

ITRIGMLELEMENT_GetDisplayRectangle()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
Description
Returns a rectangle giving the position and size of the widget attached to the given Trigml element.
Parameters
  • po
    []:
    A pointer to an ITrigmlElement object.
  • pRectangle
    []:
    Pointer to the rectangle to be filled in.
Interface
ITRIGMLELEMENT
Prototype
   int ITRIGMLELEMENT_GetDisplayRectangle(ITrigmlElement* po, AEERect* pRectangle);
Return
   SUCCESS if the rectangle could be determined.
   An appropriate error code otherwise.
Side Effect
None
Comment
Note that only visible elements have display rectangles. Calls to this method on non-visible elements will fail.
  • Follow