OfficeIMO

API Reference

Class

WordTabChar

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

Provides operations for a single tab character within a paragraph.

Inheritance

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 requiredposition: 0
Parent document.
paragraph DocumentFormat.OpenXml.Wordprocessing.Paragraph requiredposition: 1
Paragraph containing the tab.
run DocumentFormat.OpenXml.Wordprocessing.Run requiredposition: 2
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 required
Parent document.
wordParagraph OfficeIMO.Word.WordParagraph required
Paragraph to add the tab to.

Returns

A paragraph containing the inserted tab.

public Void Remove(Boolean includingParagraph = false) #
Returns: Void

Removes this tab character from the document and optionally deletes the parent paragraph.

Parameters

includingParagraph System.Boolean = false optionalposition: 0
If set to true the paragraph containing the tab is removed.