AvalonEdit
FormattedTextRun Class
NamespacesICSharpCode.AvalonEdit.RenderingFormattedTextRun
This is the TextRun implementation used by the FormattedTextElement class.
Declaration Syntax
C#Visual BasicVisual C++
public class FormattedTextRun : TextEmbeddedObject
Public Class FormattedTextRun _
	Inherits TextEmbeddedObject
public ref class FormattedTextRun : public TextEmbeddedObject
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
FormattedTextRun(FormattedTextElement, TextRunProperties)
Creates a new FormattedTextRun.

BreakAfter
Gets the line breaking condition after the text object.
(Overrides TextEmbeddedObject.BreakAfter.)
BreakBefore
Gets the line breaking condition before the text object.
(Overrides TextEmbeddedObject.BreakBefore.)
CharacterBufferReference
Gets a reference to the text run character buffer.
(Overrides TextRun.CharacterBufferReference.)
ComputeBoundingBox(Boolean, Boolean)
Gets the computed bounding box of the text object.
(Overrides TextEmbeddedObject.ComputeBoundingBox(Boolean, Boolean).)
Draw(DrawingContext, Point, Boolean, Boolean)
Draws the text object.
(Overrides TextEmbeddedObject.Draw(DrawingContext, Point, Boolean, Boolean).)
Element
Gets the element for which the FormattedTextRun was created.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Format(Double)
Get text object measurement metrics that will fit within the specified remaining width of the paragraph.
(Overrides TextEmbeddedObject.Format(Double).)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HasFixedSize
Determines whether the text object has a fixed size regardless of where it is placed within a line.
(Overrides TextEmbeddedObject.HasFixedSize.)
Length
Gets the number of characters in the text run.
(Overrides TextRun.Length.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Properties
Gets the set of text properties that are shared by every character in the text run, such as typeface or foreground brush.
(Overrides TextRun.Properties.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
TextRun
 TextEmbeddedObject
  FormattedTextRun

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238