API Reference
Class
WordTabChar
Provides operations for a single tab character within a paragraph.
Inheritance
- WordElement
- WordTabChar
Constructors
public WordTabChar(WordDocument document, Paragraph paragraph, Run run) #Initializes a new instance of the WordTabChar class bound to the specified document and paragraph.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent document.
- paragraph DocumentFormat.OpenXml.Wordprocessing.Paragraph
- Paragraph containing the tab.
- run DocumentFormat.OpenXml.Wordprocessing.Run
- Run that holds the tab character.
Methods
AddTab(OfficeIMO.Word.WordDocument document, OfficeIMO.Word.WordParagraph wordParagraph) #Inserts a new tab character into a paragraph and returns the containing WordParagraph.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent document.
- wordParagraph OfficeIMO.Word.WordParagraph
- Paragraph to add the tab to.
Returns
A paragraph containing the inserted tab.
public Void Remove(Boolean includingParagraph = false) #Returns:
VoidRemoves this tab character from the document and optionally deletes the parent paragraph.
Parameters
- includingParagraph System.Boolean = false
- If set to true the paragraph containing the tab is removed.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object