TextFormattingRunProperties::CreateTextFormattingRunProperties Method (Typeface^, Double, Color)
Visual Studio 2015
Initializes a new instance of TextFormattingRunProperties with the specified options.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
public: [EditorBrowsableAttribute(EditorBrowsableState::Always)] static TextFormattingRunProperties^ CreateTextFormattingRunProperties( Typeface^ typeface, double size, Color foreground )
Parameters
- typeface
-
Type:
System.Windows.Media::Typeface^
The typeface of the text.
- size
-
Type:
System::Double
The size of the text.
- foreground
-
Type:
System.Windows.Media::Color
The foreground color of the text.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting::TextFormattingRunProperties^A TextFormattingRunProperties that has the requested properties.
Show: