|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.formatting.formatbase
com.spire.doc.formatting.attrcollection
com.spire.doc.formatting.wordattrcollection
com.spire.doc.documents.marginsf
public final class marginsf
class allows to store page margins (float values).
| constructor summary | |
|---|---|
marginsf()
default constructor. |
|
marginsf(float left,
float top,
float right,
float bottom)
create margins with specified values |
|
| method summary | |
|---|---|
marginsf |
deepclone()
clones this instance. |
float |
getall()
allow to get value of all margins on one call |
float |
getbottom()
gets the bottom margin |
float |
getleft()
gets the left margin |
float |
getright()
gets the right margin |
float |
gettop()
gets the top margin |
void |
setall(float value)
allow to set value of all margins on one call |
void |
setbottom(float value)
sets the bottom margin |
void |
setleft(float value)
sets the left margin |
void |
setright(float value)
sets the right margin |
void |
settop(float value)
sets the top margin |
| methods inherited from class com.spire.doc.formatting.formatbase |
|---|
clearformatting, haskey, isdefault |
| methods inherited from class com.spire.doc.ownerholder |
|---|
getdocument |
| constructor detail |
|---|
public marginsf()
public marginsf(float left,
float top,
float right,
float bottom)
left - left margintop - top marginright - right marginsbottom - bottom margin| method detail |
|---|
public float getall()
public void setall(float value)
value - floatpublic float getleft()
public void setleft(float value)
value - floatpublic float getright()
public void setright(float value)
value - floatpublic float gettop()
public void settop(float value)
value - floatpublic float getbottom()
public void setbottom(float value)
value - floatpublic marginsf deepclone()
deepclone in class attrcollection
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||