|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.documents.Margins
public final class Margins
Class allows to store Page Margins (integer values).
Constructor Summary | |
---|---|
Margins()
Default constructor. |
|
Margins(int left,
int top,
int right,
int bottom)
Create margins with specified values |
Method Summary | |
---|---|
int |
getAll()
Allow to Get or Set value of all Margins on one call |
int |
getBottom()
Gets or Sets the bottom margin |
int |
getLeft()
Gets or Sets the left margin |
int |
getRight()
Gets or Sets the right margin |
int |
getTop()
Gets or Sets the top margin |
void |
setAll(int value)
Allow to Get or Set value of all Margins on one call |
void |
setBottom(int value)
Gets or Sets the bottom margin |
void |
setLeft(int value)
Gets or Sets the left margin |
void |
setRight(int value)
Gets or Sets the right margin |
void |
setTop(int value)
Gets or Sets the top margin |
Constructor Detail |
---|
public Margins()
public Margins(int left, int top, int right, int bottom)
left
- Left margintop
- Top marginright
- Right marginsbottom
- Bottom marginMethod Detail |
---|
public int getAll()
public void setAll(int value)
public int getLeft()
public void setLeft(int value)
public int getRight()
public void setRight(int value)
public int getTop()
public void setTop(int value)
public int getBottom()
public void setBottom(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |