Compartilhar via


TextFormattingRunProperties.SetFontHintingEmSize Method

Gets a new TextFormattingRunProperties with the properties of this one but with the font hinting size set to the specified size.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaração
Public Function SetFontHintingEmSize ( _
    hintingSize As Double _
) As TextFormattingRunProperties
public TextFormattingRunProperties SetFontHintingEmSize(
    double hintingSize
)
public:
TextFormattingRunProperties^ SetFontHintingEmSize(
    double hintingSize
)
member SetFontHintingEmSize : 
        hintingSize:float -> TextFormattingRunProperties 
public function SetFontHintingEmSize(
    hintingSize : double
) : TextFormattingRunProperties

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The TextFormattingRunProperties.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace