The IWP_HFLayout interface extends IWP_BaseLayout, which contains public
methods that get and set margins. Using these methods on an IWP_HFLayout
object sets and gets margins for the header and footer specifically.
Note: An IWP_HFLayout object can only be obtained after first getting
an IWP_PageLayout
object. The public methods are as follows:
Return | Function Call | Description |
int | getLeftMargin() | returns the left margin |
void | setLeftMargin(int margin) | sets the left margin |
int | getRightMargin() | returns the right margin |
void | setRightMargin(int margin) | sets the right margin |
int | getBottomMargin() | returns the bottom margin |
void | setBottomMargin(int margin) | sets the bottom margin |
int | getTopMargin() | returns the top margin |
void | setTopMargin(int margin) | sets the top margin |