public class EndNote extends FootNote
Represents the EndNote of SegmentSegment
.
[Java] //Create pdf document Pdf pdf1 = new Pdf(); //Add a section into the pdf document aspose.pdf.generator.Section sec1 = pdf1.getSections().add(); //Create a new text paragraph Text text1 = new Text(); // Create a segment object and pass string as argument Segment seg1 = new Segment("dog"); // Create an EndNote object and pass string as argument to its constructor EndNote endnote1 = new EndNote("dog is an animal"); // add EndNote to segment object seg1.EndNote = endnote1; // Add segment to segments collection of Text paragraph text1.getSegments().add(seg1); //Add text paragraph to the Paragraphs collection of section object sec1.getParagraphs().add(text1); //Save the pdf document pdf1.save("D:\\pdftest\\EndNoteTest_code.pdf"); [XML] <?xml version="1.0" encoding="utf-8" ?> <Pdf xmlns="Aspose.Pdf"> <Section PageHeight="1684"> <Text MarginTop="0"> <Segment>dog</Segment> <Segment> <EndNote fontsize="7"> <Segment> dog is an animal</Segment> </EndNote> </Segment> </Text> </Section> </Pdf>
Modifier and Type | Field and Description |
---|---|
int |
EndNotePositioning
Get or set a NEndNotePositioningType value that indicates the position of the end note.
|
NumberingContinuation, NumberingFormat, Paragraphs, Segments
Constructor and Description |
---|
EndNote()
Constructor without content for EndNote object
|
EndNote(String content)
constructor with content for EndNote object
|
Modifier and Type | Method and Description |
---|---|
int |
getNumberingContinuation()
Get or set a NumberingContinuationType value that indicates the continuation type of end note's number.
|
void |
setNumberingContinuation(int value) |
getTextInfo, setTextInfo
load
public int EndNotePositioning
Get or set a NEndNotePositioningType value that indicates the position of the end note.
public EndNote()
Constructor without content for EndNote object
public EndNote(String content)
constructor with content for EndNote object
Copyright © 2014 Aspose. All Rights Reserved.