SMART datagrid v.1 > Reporting > Classes > PrintItem

Back  Forward

DLReport.PrintItem.right  property

The margin between the right of the item and the right of Cell Area in which contained items. 

It can be specified as a string which contains numbers or "in", "mm", "cm" "px" units. If do not specify the unit, it will be considered as pixel. And, it can also be specified as "%", which is the percentage value to the width of the assigned area. 

If specify both left and right, it means to specify both the width and location of the item, and if specify only left or right, it means to specify the horizontal alignment of the item. If do not specify either left or right, it will use the calculated size or explicitly specified width to align in the horizontal center of the area. For example, if neither left nor right of Label Item which is directly contained in Report Header is specified, it will be placed in the horizontal center of Report Header. 

top, bottom, left, top do not affect to determine the size of Group Item or Band including the item. 

Defaults to undefined.

Getter
function right(): PrintDimension
Setter
function setRight(value: Number|String)
See Also
left
top
bottom
Print Items Layout
Print Dimension
PrintGroupItem
PrintItemBand
Examples
Hello Report
Canvas Tutorial