public class FootNote extends Object
Represents the FootNote of SegmentSegment
.
[C#] Pdf pdf1 = new Pdf(); //Create pdf document Pdf pdf1 = new Pdf(); //Add a section into the pdf document Aspose.Pdf.Generator.Section Section1 = pdf1.Sections.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.FootNote = FootNote1; // Add segment to segments collection of Text paragraph text1.Segments.Add(Segment1); //Add text paragraph to the Paragraphs collection of section object Section1.Paragraphs.Add(text1); //Save the pdf document pdf1.Save(@"D:\pdftest\FootNoteTest_code.pdf"); [Visual Basic] ‘Create pdf document Dim pdf1 As Pdf = New Pdf() ‘Add a section into the pdf document Dim Section1 As Section = pdf1.Sections.Add() ‘Create a new text paragraph Dim text1 AsText = new Text(); ’Create a segment object and pass string as argument Dim Segment1 As Segment = new Segment("dog"); ‘ Create an EndNote object and pass string as argument to its constructor Dim FootNote1 As FootNote = new FootNote("dog is an animal"); ‘ add EndNote to segment object Segment1.FootNote = FootNote1; ‘ Add segment to segments collection of Text paragraph text1.Segments.Add(Segment1); ‘ Add text paragraph to the Paragraphs collection of section object Section1.Paragraphs.Add(text1) ‘ Save the pdf document pdf1.Save(...) [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 |
---|---|
boolean |
HasProcessed
a bool value that indicates whether the current footnote has been processed.
|
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 |
---|---|
boolean |
getHaveNumberInfo() |
int |
getNumberingContinuation()
Gets a
NumberingContinuationType enumeration value that indicates footnote numbering continuation style£¬such as continuation in pdf or section. |
int |
getNumberingFormat()
Gets or sets a
NumberingFormatType enumeration value that indicates footnote number format in the Pdf document. |
Paragraphs |
getParagraphs()
Gets or sets a
Paragraph collection that indicates all paragraphs in the FootNote. |
Segments |
getSegments() |
TextInfo |
getTextInfo()
Gets or sets a
TextInfo object that indicates the text information of footnote. |
void |
setHaveNumberInfo(boolean value) |
void |
setNumberingContinuation(int value)
Sets a
NumberingContinuationType enumeration value that indicates footnote numbering continuation style£¬such as continuation in pdf or section. |
void |
setNumberingFormat(int value) |
void |
setParagraphs(Paragraphs value) |
void |
setSegments(Segments value) |
void |
setTextInfo(TextInfo value) |
public boolean HasProcessed
a bool value that indicates whether the current footnote has been processed.
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.
public boolean getHaveNumberInfo()
public void setHaveNumberInfo(boolean value)
public Paragraphs getParagraphs()
Gets or sets a Paragraph
collection that indicates all paragraphs in the FootNote.
public void setParagraphs(Paragraphs value)
public int getNumberingFormat()
Gets or sets a NumberingFormatType
enumeration value that indicates footnote number format in the Pdf document.
public void setNumberingFormat(int value)
public int getNumberingContinuation()
Gets a NumberingContinuationType
enumeration value that indicates footnote numbering continuation style£¬such as continuation in pdf or section.
public void setNumberingContinuation(int value)
Sets a NumberingContinuationType
enumeration value that indicates footnote numbering continuation style£¬such as continuation in pdf or section.
public Segments getSegments()
public void setSegments(Segments value)
public TextInfo getTextInfo()
Gets or sets a TextInfo
object that indicates the text information of footnote.
public void setTextInfo(TextInfo value)
Copyright © 2014 Aspose. All Rights Reserved.