Top Description Methods
org.apache.poi.hssf.record

public Interface Margin

Known Direct Implementers
org.apache.poi.hssf.record.TopMarginRecord, org.apache.poi.hssf.record.BottomMarginRecord, org.apache.poi.hssf.record.RightMarginRecord, org.apache.poi.hssf.record.LeftMarginRecord

The margin interface is a parent used to define left, right, top and bottom margins. This allows much of the code to be generic when it comes to handling margins.

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the margin
getMargin
()

Get the margin field for the Margin.

public void
setMargin(double
the margin
field_1_margin
)

Set the margin field for the Margin.

Method Detail

getMarginback to summary
public double getMargin()

Get the margin field for the Margin.

Returns:double

the margin

setMarginback to summary
public void setMargin(double field_1_margin)

Set the margin field for the Margin.

Parameters
field_1_margin:double

the margin