public class EndNote extends FootNote
Represents the EndNote of SegmentSegment
.
[C#] //Create pdf document Pdf pdf1 = new Pdf(); //Add a section into the pdf document Aspose.Pdf.Generator.Section sec1 = pdf1.Sections.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.Segments.Add(seg1); //Add text paragraph to the Paragraphs collection of section object sec1.Paragraphs.Add(text1); //Save the pdf document pdf1.Save(@"D:\pdftest\EndNoteTest_code.pdf"); [Visual Basic] �Create pdf document Dim pdf1 As Pdf = New Pdf() �Add a section into the pdf document Dim sec1 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 seg1 As Segment = new Segment("dog"); � Create an EndNote object and pass string as argument to its constructor Dim endnote1 As EndNote = new EndNote("dog is an animal"); � add EndNote to segment object seg1.EndNote = endnote1; � Add segment to segments collection of Text paragraph text1.Segments.Add(seg1); � Add text paragraph to the Paragraphs collection of section object sec1.Paragraphs.Add(text1) � Save the pdf document pdf1.Save(...) [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>
HasProcessed
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 |
getEndNotePositioning()
Get or set a NEndNotePositioningType value that indicates the position of the end note.
|
int |
getNumberingContinuation_EndNote_New()
Get or set a NumberingContinuationType value that indicates the continuation type of end note's number.
|
void |
setEndNotePositioning(int value) |
void |
setNumberingContinuation_EndNote_New(int value) |
getHaveNumberInfo, getNumberingContinuation, getNumberingFormat, getParagraphs, getSegments, getTextInfo, setHaveNumberInfo, setNumberingContinuation, setNumberingFormat, setParagraphs, setSegments, setTextInfo
public EndNote()
Constructor without content for EndNote object
public EndNote(String content)
constructor with content for EndNote object
public int getNumberingContinuation_EndNote_New()
Get or set a NumberingContinuationType value that indicates the continuation type of end note's number.
public void setNumberingContinuation_EndNote_New(int value)
public int getEndNotePositioning()
Get or set a NEndNotePositioningType value that indicates the position of the end note.
public void setEndNotePositioning(int value)
Copyright © 2016 Aspose. All Rights Reserved.