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