|
|||||||||
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. |
boolean |
equals(MarginsF other)
|
boolean |
equals(java.lang.Object obj)
|
float |
getAll()
Allow to Get or Set value of all Margins on one call |
float |
getBottom()
Gets or Sets the bottom margin |
float |
getLeft()
Gets or Sets the left margin |
float |
getRight()
Gets or Sets the right margin |
float |
getTop()
Gets or Sets the top margin |
void |
setAll(float value)
Allow to Get or Set value of all Margins on one call |
void |
setBottom(float value)
Gets or Sets the bottom margin |
void |
setLeft(float value)
Gets or Sets the left margin |
void |
setRight(float value)
Gets or Sets the right margin |
void |
setTop(float value)
Gets or Sets the top margin |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
clearBackground, 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)
public float getLeft()
public void setLeft(float value)
public float getRight()
public void setRight(float value)
public float getTop()
public void setTop(float value)
public float getBottom()
public void setBottom(float value)
public MarginsF deepClone()
deepClone
in class AttrCollection
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equals(MarginsF other)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |