Freigeben über


TextFormattingRunProperties.SetFontRenderingEmSize Method

Gets a new TextFormattingRunProperties with the properties of this one but with the font rendering 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

'Declaration
Public Function SetFontRenderingEmSize ( _
    renderingSize As Double _
) As TextFormattingRunProperties
public TextFormattingRunProperties SetFontRenderingEmSize(
    double renderingSize
)
public:
TextFormattingRunProperties^ SetFontRenderingEmSize(
    double renderingSize
)
member SetFontRenderingEmSize : 
        renderingSize:float -> TextFormattingRunProperties 
public function SetFontRenderingEmSize(
    renderingSize : 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