Freigeben über


ITextFormattable.GetTextRunProperties(TextRunProperties) Method

Definition

Gets a set of TextRunProperties that will override the "default" TextRunProperties used to display this object's text.

public:
 System::Windows::Media::TextFormatting::TextRunProperties ^ GetTextRunProperties(System::Windows::Media::TextFormatting::TextRunProperties ^ defaultTextRunProperties);
public System.Windows.Media.TextFormatting.TextRunProperties GetTextRunProperties (System.Windows.Media.TextFormatting.TextRunProperties defaultTextRunProperties);
abstract member GetTextRunProperties : System.Windows.Media.TextFormatting.TextRunProperties -> System.Windows.Media.TextFormatting.TextRunProperties
Public Function GetTextRunProperties (defaultTextRunProperties As TextRunProperties) As TextRunProperties

Parameters

defaultTextRunProperties
TextRunProperties

The set of TextRunProperties that would have been used to present this object had no overriding taken place.

Returns

A set of TextRunProperties that should be used to display this object's text.

Applies to