Description
This class defines the text-run and its properties

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 Textrun : ICopyable<Textrun>
<SerializableAttribute> _
Public Class Textrun _
	Implements ICopyable(Of Textrun)
[SerializableAttribute]
public ref class Textrun : ICopyable<Textrun^>

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Textrun()()()()
Constructor of the Textrun
Textrun(String)
Constructor of the Textrun with given text
Textrun(TextrunType)
Constructor of the Textrun with given type
Textrun(String, TextrunType)
Constructor of the Textrun with given text and type
Textrun(String, TextStyle)
Constructor of the Textrun with given text and style
Textrun(String, TextStyle, TextrunType)
Constructor of the Textrun with given text, style and
AddComment(String, String)
Adds a comment to this textrun
AddEndnote(String)
Adds a endnote to this textrun
AddFootnote(String)
Adds a footnote to this textrun
AddHyperlink(LinkType, String)
Adds a hyperlink to this textrun
ApplyFont(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(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.
ApplyStyle(Int32)
Apply the style with certain index to this text-run. It doesn't replace current text-run style with certain style, but rather combine them together.
ApplyStyle(String)
Apply the style with certain name to this text-run. It doesn't replace current text-run style with certain style, but rather combine them together.
ApplyStyle(Style)
Apply the certain style to this text-run. It doesn't replace current text-run style with a certain style, but rather combine them together.
ApplyStyle(TextStyle)
Apply the certain text style to this text-run. It doesn't replace current text-run style with a certain style, but rather combine them together.
ApplyStyle(Document, Style)
Apply the certain text style to this text-run. It doesn't replace current text-run style with a certain style, but rather combine them together.
ApplyStyle(TextStyle, Boolean)
Apply the certain text style to this text-run. It doesn't replace current text-run style with a certain style, but rather combine them together.
Copy()()()()
Creates a deep copy of this Textrun instance.
Fields
Defines the field properties, if this textrun represents some kind of field.
Hidden
Defines if this text-run is hidden, e.g. it contains the field characters or some kind of service information
References
Defines the references of this textrun (footnotes, endnotes, comments)
ResetStyle()()()()
Resets the style properties of this text-run
Style
Defines the style of text-run
Text
Text of textrun
ToString()()()()
Returns a string representation of this Textrun instance.
Type
Type of this textrun - plain text, hyperlink, form field, etc.

Inheritance Hierarchy

System..::..Object
  Docs.Word..::..Textrun

See Also