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
renderingSize
Type: DoubleThe new rendering size.
Return Value
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The TextFormattingRunProperties.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.