size

Specifies the width and height of a component in terms of Viewsheet grid cells. Fractional values for width and height are rounded down to the next lowest integer. This property does not take effect in the design view of Visual Composer and does not apply to components within a Selection Container.

Type

value a java.awt.Dimension object:

java.awt.Dimension(columns,rows)

Example

// Table spanning 7 grid columns, 4 grid rows

TableView1.size = java.awt.Dimension(7,4)

// Chart spanning 6 grid columns, 20 grid rows

Chart1.size = java.awt.Dimension(6,20)

<< selectedObjects © 1996-2013 InetSoft Technology Corporation (v11.4) title >>