|
|||||||||
| 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 | ||||||||