When setting the margins for a Page object, what margin does the number represent? The top, bottom, left, or right margin?
Or does it simply set them all to that value? If so is there a way to set each individual margin?
Margins
Re: Margins
Support · Dec 5, 2005Yes, the Page constructor that takes a value for the Margin will then set all the margins (top, bottom, left and right) to that specified value.
If you would like to specify different values for the Margins then you can change these properties after you have created the Page object. The Page contains a getDimensions() method which returns a PageDimensions object. This PageDimensions object contains a setBottomMargin(), setLeftMargin(), setRightMargin() and setTopMargin() methods that will set those respective values independently.
Thanks,
ceTe Software Support Team