PaperSettings.setMargins Method

Sets all margins to the specified value.
 

Parameters

value

Type: Number
The margin for all sides.
unit

Type: PaperUnit
(optional) The unit the margin is specified in.
Optional: True