Class
WordFooter
OfficeIMO.Word
Represents a footer in a Word document and allows manipulation of its contents.
Inheritance
- WordHeaderFooter
- WordFooter
Usage
Explore 6 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Method WordDocument.GetFooterForSection
- Method WordPageSetup.GetFooter
- Property WordPageSetup.EvenPageFooter
- Property WordPageSetup.FirstPageFooter
- Property WordPageSetup.Footer
Accepted by parameters 1
- Constructor WordPageNumber.WordPageNumber
Methods
public WordPageNumber AddPageNumber(WordPageNumberStyle wordPageNumberStyle) #Adds a page number to this footer using the specified style.
Parameters
- wordPageNumberStyle OfficeIMO.Word.WordPageNumberStyle
- Style of the page number to insert.
Inherited Methods
public WordBookmark AddBookmark(string bookmarkName) #Inherited from WordHeaderFooter
Parameters
- bookmarkName string
Returns
WordBookmarkAddField 3 overloads
public WordField AddField(WordFieldType wordFieldType, WordFieldFormat? wordFieldFormat = null, string? customFormat = null, bool advanced = false) #Inherited from WordHeaderFooter
Parameters
- wordFieldType WordFieldType
- wordFieldFormat WordFieldFormat? = null
- customFormat string? = null
- advanced bool = false
Returns
WordFieldpublic WordField AddField(WordFieldCode fieldCode, WordFieldFormat? wordFieldFormat = null, string? customFormat = null, bool advanced = false) #Inherited from WordHeaderFooter
Parameters
- fieldCode WordFieldCode
- wordFieldFormat WordFieldFormat? = null
- customFormat string? = null
- advanced bool = false
Returns
WordFieldpublic WordField AddField(WordFieldBuilder builder, bool advanced = false) #Inherited from WordHeaderFooter
Parameters
- builder WordFieldBuilder
- advanced bool = false
Returns
WordFieldpublic WordParagraph AddHorizontalLine(WordBorderStyle? lineType = null, OfficeColor? color = null, uint size = 12, uint space = 1) #Inherited from WordHeaderFooter
Parameters
- lineType WordBorderStyle? = null
- color OfficeColor? = null
- size uint = 12
- space uint = 1
Returns
WordParagraphAddHyperLink 2 overloads
public WordHyperLink AddHyperLink(string text, Uri uri, bool addStyle = false, string tooltip = "", bool history = true) #Inherited from WordHeaderFooter
Parameters
- text string
- uri Uri
- addStyle bool = false
- tooltip string = ""
- history bool = true
Returns
WordHyperLinkpublic WordHyperLink AddHyperLink(string text, string anchor, bool addStyle = false, string tooltip = "", bool history = true) #Inherited from WordHeaderFooter
Parameters
- text string
- anchor string
- addStyle bool = false
- tooltip string = ""
- history bool = true
Returns
WordHyperLinkpublic WordList AddList(WordListStyle style) #Inherited from WordHeaderFooter
Parameters
- style WordListStyle
Returns
WordListpublic WordParagraph AddPageNumber(bool includeTotalPages = false, WordFieldFormat? format = null, string separator = " of ") #Inherited from WordHeaderFooter
Parameters
- includeTotalPages bool = false
- format WordFieldFormat? = null
- separator string = " of "
Returns
WordParagraphAddParagraph 2 overloads
public WordParagraph AddParagraph(string text) #Inherited from WordHeaderFooter
Parameters
- text string
Returns
WordParagraphpublic WordParagraph AddParagraph(bool newRun = false) #Inherited from WordHeaderFooter
Parameters
- newRun bool = false
Returns
WordParagraphpublic WordTable AddTable(int rows, int columns, WordTableStyle tableStyle = TableGrid) #Inherited from WordHeaderFooter
Parameters
- rows int
- columns int
- tableStyle WordTableStyle = TableGrid
Returns
WordTableInherited 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