TextEmbeddedObject Class

TextEmbeddedObject Class

 

Defines a type of text content in which measuring, hit testing and drawing of the entire content is done in whole.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

System.Object
  System.Windows.Media.TextFormatting.TextRun
    System.Windows.Media.TextFormatting.TextEmbeddedObject

public abstract class TextEmbeddedObject : TextRun

NameDescription
System_CAPS_protmethodTextEmbeddedObject()

Initializes a new instance of the TextEmbeddedObject class.

NameDescription
System_CAPS_pubpropertyBreakAfter

Gets the line breaking condition after the text object.

System_CAPS_pubpropertyBreakBefore

Gets the line breaking condition before the text object.

System_CAPS_pubpropertyCharacterBufferReference

Gets a reference to the text run character buffer.(Inherited from TextRun.)

System_CAPS_pubpropertyHasFixedSize

Determines whether the text object has a fixed size regardless of where it is placed within a line.

System_CAPS_pubpropertyLength

Gets the number of characters in the text run.(Inherited from TextRun.)

System_CAPS_pubpropertyProperties

Gets the set of text properties that are shared by every character in the text run, such as typeface or foreground brush.(Inherited from TextRun.)

NameDescription
System_CAPS_pubmethodComputeBoundingBox(Boolean, Boolean)

Gets the computed bounding box of the text object.

System_CAPS_pubmethodDraw(DrawingContext, Point, Boolean, Boolean)

Draws the text object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFormat(Double)

Get text object measurement metrics that will fit within the specified remaining width of the paragraph.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

An example of a TextEmbeddedObject is a button in the middle of a line of text.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft