|
|||||||||
| 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 value of all Margins on one call |
int |
getBottom()
Gets the bottom margin |
int |
getLeft()
Gets the left margin |
int |
getRight()
Gets the right margin |
int |
getTop()
Gets the top margin |
void |
setAll(int value)
Set value of all Margins on one call |
void |
setBottom(int value)
Sets the bottom margin |
void |
setLeft(int value)
Sets the left margin |
void |
setRight(int value)
Sets the right margin |
void |
setTop(int value)
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 margin| Method Detail |
|---|
public int getAll()
public void setAll(int value)
value - intpublic int getLeft()
public void setLeft(int value)
value - intpublic int getRight()
public void setRight(int value)
value - intpublic int getTop()
public void setTop(int value)
value - intpublic int getBottom()
public void setBottom(int value)
value - int
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||