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
- hintingSize
Type: System.Double
The new font hinting 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.