API Reference
Class
WordFooter
Represents a footer in a Word document and allows manipulation of its contents.
Inheritance
- WordHeaderFooter
- WordFooter
Methods
RemoveFooters 2 overloads
Inherited Methods
public WordParagraph AddBookmark(String bookmarkName) #Returns:
WordParagraphInherited from WordHeaderFooter
Parameters
- bookmarkName String
public WordParagraph AddField(WordFieldBuilder builder, Boolean advanced = false) #Returns:
WordParagraphInherited from WordHeaderFooter
Parameters
- wordFieldType WordFieldType
- wordFieldFormat Nullable<WordFieldFormat> = false
- customFormat String = null
- advanced Boolean = false
public WordParagraph AddHorizontalLine(Nullable<BorderValues> lineType = null, Nullable<Color> color = null, UInt32 size = 12, UInt32 space = 1) #Returns:
WordParagraphInherited from WordHeaderFooter
Parameters
- lineType Nullable<BorderValues> = null
- color Nullable<Color> = null
- size UInt32 = 12
- space UInt32 = 1
public WordParagraph AddHyperLink(String text, String anchor, Boolean addStyle = false, String tooltip = "", Boolean history = true) #Returns:
WordParagraphInherited from WordHeaderFooter
Parameters
- text String
- uri Uri
- addStyle Boolean = false
- tooltip String = ""
- history Boolean = true
public WordList AddList(WordListStyle style) #Returns:
WordListInherited from WordHeaderFooter
Parameters
- style WordListStyle
public WordParagraph AddPageNumber(Boolean includeTotalPages = false, Nullable<WordFieldFormat> format = null, String separator = " of ") #Returns:
WordParagraphInherited from WordHeaderFooter
Adds a page number to this footer using the specified style.
Parameters
- wordPageNumberStyle OfficeIMO.Word.WordPageNumberStyle = false
- Style of the page number to insert.
Returns
The created WordPageNumber instance.
public WordParagraph AddParagraph(Boolean newRun = false) #Returns:
WordParagraphInherited from WordHeaderFooter
Parameters
- text String = false
public WordTable AddTable(Int32 rows, Int32 columns, WordTableStyle tableStyle = TableGrid) #Returns:
WordTableInherited from WordHeaderFooter
Parameters
- rows Int32
- columns Int32
- tableStyle WordTableStyle = TableGrid
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Inherited Properties
public List<WordParagraph> Paragraphs { get; } #Inherited from WordHeaderFooter
public List<WordElement> Elements { get; } #Inherited from WordHeaderFooter
public List<WordTable> Tables { get; } #Inherited from WordHeaderFooter
public List<WordTextBox> TextBoxes { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsPageBreaks { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsHyperLinks { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsFields { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsBookmarks { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsEquations { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsStructuredDocumentTags { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsCheckBoxes { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsDatePickers { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsDropDownLists { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsRepeatingSections { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsImages { get; } #Inherited from WordHeaderFooter
public List<WordParagraph> ParagraphsSmartArts { get; } #Inherited from WordHeaderFooter
public List<WordBreak> PageBreaks { get; } #Inherited from WordHeaderFooter
public List<WordImage> Images { get; } #Inherited from WordHeaderFooter
public List<WordSmartArt> SmartArts { get; } #Inherited from WordHeaderFooter
public List<WordBookmark> Bookmarks { get; } #Inherited from WordHeaderFooter
public List<WordField> Fields { get; } #Inherited from WordHeaderFooter
public List<WordHyperLink> HyperLinks { get; } #Inherited from WordHeaderFooter
public List<WordEquation> Equations { get; } #Inherited from WordHeaderFooter
public List<WordStructuredDocumentTag> StructuredDocumentTags { get; } #Inherited from WordHeaderFooter
public List<WordCheckBox> CheckBoxes { get; } #Inherited from WordHeaderFooter
public List<WordDatePicker> DatePickers { get; } #Inherited from WordHeaderFooter
public List<WordDropDownList> DropDownLists { get; } #Inherited from WordHeaderFooter
public List<WordRepeatingSection> RepeatingSections { get; } #Inherited from WordHeaderFooter
public List<WordWatermark> Watermarks { get; } #Inherited from WordHeaderFooter