Condividi tramite


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)

Syntax

'Dichiarazione
Public Shared Function CreateTextFormattingRunProperties ( _
    typeface As Typeface, _
    size As Double, _
    foreground As Color _
) As TextFormattingRunProperties
public static TextFormattingRunProperties CreateTextFormattingRunProperties(
    Typeface typeface,
    double size,
    Color foreground
)
public:
static TextFormattingRunProperties^ CreateTextFormattingRunProperties(
    Typeface^ typeface, 
    double size, 
    Color foreground
)
static member CreateTextFormattingRunProperties : 
        typeface:Typeface * 
        size:float * 
        foreground:Color -> TextFormattingRunProperties 
public static function CreateTextFormattingRunProperties(
    typeface : Typeface, 
    size : double, 
    foreground : Color
) : TextFormattingRunProperties

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
A TextFormattingRunProperties that has the requested properties.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

CreateTextFormattingRunProperties Overload

Microsoft.VisualStudio.Text.Formatting Namespace