TextFormattingRunProperties::SetTypeface Method (Typeface^)
Visual Studio 2015
Gets a new TextFormattingRunProperties with the properties of this one but with the typeface set to the specified typeface.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Parameters
- typeface
-
Type:
System.Windows.Media::Typeface^
The new typeface.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting::TextFormattingRunProperties^| Exception | Condition |
|---|---|
| ArgumentNullException | typeface is null. |
Show: