|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.graphics.pdfmargins
public class pdfmargins
a class representing page margins.
constructor summary | |
---|---|
pdfmargins()
initializes a new instance of the class. |
|
pdfmargins(float margin)
create and initialize margin. |
|
pdfmargins(float leftright,
float topbottom)
create and initialize margin. |
|
pdfmargins(float left,
float top,
float right,
float bottom)
create and initialize margin. |
method summary | |
---|---|
float |
getbottom()
gets the bottom margin size. |
float |
getleft()
gets the left margin size. |
float |
getright()
gets the right margin size. |
float |
gettop()
gets the top margin size. |
void |
setall(float value)
sets margin of each side. |
void |
setbottom(float value)
sets the bottom margin size. |
void |
setleft(float value)
sets the left margin size. |
void |
setright(float value)
sets the right margin size. |
void |
settop(float value)
sets the top margin size. |
constructor detail |
---|
public pdfmargins()
public pdfmargins(float margin)
margin
- the margin size.public pdfmargins(float leftright, float topbottom)
leftright
- the left right.topbottom
- the top bottom.public pdfmargins(float left, float top, float right, float bottom)
left
- the left.top
- the top.right
- the right.bottom
- the bottom.method detail |
---|
public float getleft()
public void setleft(float value)
public float gettop()
public void settop(float value)
public float getright()
public void setright(float value)
public float getbottom()
public void setbottom(float value)
public void setall(float value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |