"widthGraphic"

Returns the width of a graphic

Synopsis

getValue(string shape, "widthGraphic", int &width);

shape.widthGraphic();

Parameters

Parameter Description
shape Name of the object
width Width

Description

The width of a graphic can be read (but not set) with this attribute.

Example

The following example generates the width of the graphic in the log viewer.

main()
{
  shape bt=getShape("BarTrend1");
  DebugN(bt.widthGraphic());
}

Assignment

Bar trend