Description
This class defines the style of text

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

 C# Visual Basic Visual C++
```[SerializableAttribute]
public class TextStyle : ICopyable<TextStyle>```
```<SerializableAttribute> _
Public Class TextStyle _
Implements ICopyable(Of TextStyle)```
```[SerializableAttribute]
public ref class TextStyle : ICopyable<TextStyle^>```

Members

 All Members Constructors Fields Properties Methods
 Public Protected Instance Static Declared Inherited XNA Framework Only  .NET Compact Framework Only
MemberDescription
TextStyle()()()()
Constructor of the text style
ApplyFont(Document, Int32)
Apply font with given index to this textrun. If there's no font with given index in Font Table of this document, the default font will be used.
ApplyFont(Document, String)
Apply font with given name to this textrun. If there's no font with given name in Font Table of this document, the default font will be used.
Borders
Defines the all four borders of this text
Copy()()()()
Make a deep copy of this TextStyle instance.
ExtraSpace
Defines the extra space, in twips, between a character and the one to its right.
FontName
Defines the name of font applied to this text
FontSize
Defines the font size (in half-points)
FontStyle
Defines the font style of text
HighlightColor
Defines the highlighting color of text-run
HorizintalScale
Defines the percentage by which to horizontally scale the text, thereby changing the shape of the characters.
isRevisionDeleted
Defines if this textrun is formatted as deleted revision mark text
isRevisionInserted
Defines if this textrun is formatted as insertec revision mark text
KerningThreshold
Defines a font size threshold, in half-points, above which kerning is applied to the text.
Language
Defines the language of the text, except for East Asian languages.
LanguageEastAsian
Defines the language of the text if it is an East Asian language.
RightToLeft
Defines whether the text is formatted with right-to-left layout
StyleIndex
Index in the table of styles
TextColor
Defines the text color
ToString()()()()
Returns a short string representation of this TextStyle instance.
VerticalPosition
Defines the vertical position, in half-points, of text relative to the normal position.

Inheritance Hierarchy

System..::..Object
Docs.Word..::..TextStyle