ITextFormattable.GetTextRunProperties(TextRunProperties) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.