User`s guide
mlreportgen.dom.OuterMargin class
12-225
mlreportgen.dom.OuterMargin class
Package: mlreportgen.dom
Margin between bounding box and its surroundings
Description
Specifies the margin between the bounding box of an object and adjacent document
objects. A bounding box of an object includes the border of the object (if it has a border),
the inner margin, and the object content.
Construction
marginObj = OuterMargin() creates an unspecified margin between the bounding
box of an object and its surroundings.
marginObj = OuterMargin(all) creates the specified margin on all sides between
the bounding box of an object and its surroundings.
marginObj = OuterMargin(left,right) creates the specified margins between the
left and right sides of the bounding box of an object and its surroundings.
marginObj = OuterMargin(left,right,top,bottom) creates the specified
margins between sides of the bounding box of an object and its surroundings.
Input Arguments
all — Outer margin size on all sides
string
String specifying the margin on all sides between the bounding box of an object and its
surroundings. String must have the format valueUnits where Units is an abbreviation
for the units in which the width size is expressed. Valid abbreviations are:
• No abbreviation — pixels