com.crystaldecisions.sdk.occa.report.document
Interface IPageMargins

All Superinterfaces:
IClone
All Known Implementing Classes:
PageMargins

public interface IPageMargins
extends IClone

This interface allows you to get and set the page margins of the report. This information includes: the top, bottom, left, and right margins of the report. These margins are absolute. The right margin is not relative to the left margin and the bottom margin is not relative to the top margin. All margins are measured in twips.


Method Summary
 int getBottom()
           Gets the bottom margin of the report.
 int getLeft()
           Gets the left margin of the report.
 int getRight()
           Gets the right margin of the report.
 int getTop()
           Gets the top margin of the report.
 void setBottom(int bottom)
           Sets the bottom margin of the report.
 void setLeft(int left)
           Sets the left margin of the report.
 void setRight(int right)
           Sets the right margin of the report.
 void setTop(int top)
           Sets the top margin of the report.
 

Method Detail

getTop

int getTop()

Gets the top margin of the report.

Returns:
the top margin of the report

getBottom

int getBottom()

Gets the bottom margin of the report.

Returns:
the bottom margin of the report

getLeft

int getLeft()

Gets the left margin of the report.

Returns:
the left margin of the report

getRight

int getRight()

Gets the right margin of the report.

Returns:
the right margin of the report

setTop

void setTop(int top)

Sets the top margin of the report.

Parameters:
top - the top margin of the report

setBottom

void setBottom(int bottom)

Sets the bottom margin of the report.

Parameters:
bottom - the bottom margin of the report

setLeft

void setLeft(int left)

Sets the left margin of the report.

Parameters:
left - the left margin of the report

setRight

void setRight(int right)

Sets the right margin of the report.

Parameters:
right - the right margin of the report