public class FootNote extends XmlEntityWithInternals
Represents the FootNote of SegmentSegment
.
[Java] Pdf pdf1 = new Pdf(); //Create pdf document Pdf pdf1 = new Pdf(); //Add a section into the pdf document aspose.pdf.generator.Section Section1 = pdf1.getSections().add(); //Create a new text paragraph Text text1 = new Text(); // Create a segment object and pass string as argument Segment Segment1 = new Segment("dog"); // Create an FootNote object and pass string as argument to its constructor FootNote FootNote1 = new FootNote("dog is an animal"); // add FootNote to segment object Segment1.setFootNote ( FootNote1); // Add segment to segments collection of Text paragraph text1.getSegments().add(Segment1); //Add text paragraph to the Paragraphs collection of section object Section1.getParagraphs().add(text1); //Save the pdf document pdf1.save("D:\\pdftest\\FootNoteTest_code.pdf"); [XML] <Section PageWidth="595.3" PageHeight="841.9" PageMarginTop="72" PageMarginBottom="72" PageMarginLeft="90" PageMarginRight="90" IsNewPage="true"> <Text IsSpaced="true" Alignment="Justify" LineSpacing="1.58" ID="paraId_1"> <Segment FontName="Times New Roman">dog</Segment> <Segment> <FootNote> <Segment>dog is an animal</Segment> </FootNote> </Segment> </Text> </Section>
Modifier and Type | Field and Description |
---|---|
int |
NumberingContinuation
Gets or sets a
NumberingContinuationType enumeration value that indicates footnote numbering continuation style - such as continuation in pdf or section. |
int |
NumberingFormat
Gets or sets a
NumberingFormatType enumeration value that indicates footnote number format in the Pdf document. |
Paragraphs |
Paragraphs
Gets or sets a
Paragraph collection that indicates all paragraphs in the FootNote. |
Segments |
Segments |
Constructor and Description |
---|
FootNote()
constructor with no arguments for FootNote class .
|
FootNote(String note)
constructor with footnote content for FootNote class.The argument note is used for the content of footnote.
|
Modifier and Type | Method and Description |
---|---|
TextInfo |
getTextInfo()
Gets or sets a
TextInfo object that indicates the text information of footnote. |
void |
setTextInfo(TextInfo value) |
load
public Paragraphs Paragraphs
Gets or sets a Paragraph
collection that indicates all paragraphs in the FootNote.
public int NumberingFormat
Gets or sets a NumberingFormatType
enumeration value that indicates footnote number format in the Pdf document.
public int NumberingContinuation
Gets or sets a NumberingContinuationType
enumeration value that indicates footnote numbering continuation style - such as continuation in pdf or section.
public Segments Segments
public FootNote()
constructor with no arguments for FootNote class .
public FootNote(String note)
constructor with footnote content for FootNote class.The argument note is used for the content of footnote.
Copyright © 2014 Aspose. All Rights Reserved.