Description

The Textrun type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
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.
ResetStyle()()()()
Resets the style properties of this text-run
ToString()()()()
Returns a string representation of this Textrun instance.

See Also