![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.PdfElementBase
com.aspose.pdf.elements.Footer
Represents a footer of a page in a Pdf document.
Constructor Summary | |
Footer(Section section)
Initialize a new instance of the Footer class. |
Method Summary | |
java.lang.Object |
clone()
Clone an object. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
float |
getFooterHeight()
Gets a float value that indicates the height of footer. |
java.lang.String |
getFooterName()
Gets the Name of Footer. |
Text |
getFooterText()
Gets a Text that indicates the content in the footer. |
void |
setFooterHeight(float height)
Gets a float value that indicates the height of footer. |
void |
setFooterText(Text content)
Sets a Text that indicates the content in the footer. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Footer(Section section)
[SampleCode] Pdf pdf = new Pdf(); Section sec1 = pdf.getSections().add(); Footer foot = new Footer(sec1); Text footText = new Text(sec1,"Aspose Footer"); foot.setFooterText(footText); sec1.setFooter(foot);
section
- The Section that owns the footer.Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
PdfElementBase
clone
in class PdfElementBase
java.lang.CloneNotSupportedException
java.lang.Object#clone()
public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
public float getFooterHeight()
public void setFooterHeight(float height)
height
- The height to set.public Text getFooterText()
public void setFooterText(Text content)
java.lang.CloneNotSupportedException
public java.lang.String getFooterName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |