TextFormattingRunProperties::CreateTextFormattingRunProperties Method (Typeface^, Double, Color)

 

Initializes a new instance of TextFormattingRunProperties with the specified options.

Namespace:   Microsoft.VisualStudio.Text.Formatting
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 to top
Show: