setMargins

Sets the values of these Margins to those of the provided Dimensions.

Parameters

margins

the Dimensions whose values to assign to these Margins.