[]
Represents a collection of Footnote objects.
public class FootnoteCollection : ContentObjectCollection<Footnote>, IContentList<Footnote>, IReadOnlyList<Footnote>, IReadOnlyCollection<Footnote>, IEnumerable<Footnote>, IEnumerable
Gets the body of the footnotes continuation notice.
public Body ContinuationNotice { get; }
Gets the body of the footnotes continuation separator.
public Body ContinuationSeparator { get; }
Gets the body of the footnotes separator.
public Body Separator { get; }
public Footnote Add(string text, char referenceCharacter, string referenceFontName)
text
stringThe footnote text.
referenceCharacter
charThe footnote reference symbol.
referenceFontName
stringThe footnote reference symbol font.
public Footnote Add(string text, string reference)
text
stringThe footnote text.
reference
stringThe footnote reference text.
public Footnote Add(string text = null)
text
stringThe footnote text.
Checks whether this collection contains a footnote with a specified ID.
public bool Contains(long id)
id
longThe footnote ID.
True if the collection contains a footnote with the specified ID, false otherwise.
Gets a footnote from the collection by its ID.
public Footnote GetByID(long id)
id
longThe footnote ID.
Throws if a footnote with the specified ID could not be found in the collection.
Inserts a Footnote into this collection at the specified location.
public Footnote Insert(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Footnote into this collection at the specified location.
public Footnote Insert(string text, InsertLocation location)
text
stringThe footnote text.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Footnote into this collection at the specified location.
public Footnote Insert(string text, char referenceCharacter, string referenceFontName, InsertLocation location)
text
stringThe footnote text.
referenceCharacter
charThe footnote reference symbol.
referenceFontName
stringThe footnote reference symbol font.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts a Footnote into this collection at the specified location.
public Footnote Insert(string text, string reference, InsertLocation location)
text
stringThe footnote text.
reference
stringThe footnote reference text.
location
InsertLocationThe target InsertLocation for the insertion.