FontScaling.SetPreScaledFontSize Method
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Shared Sub SetPreScaledFontSize ( _
element As DependencyObject, _
value As Double _
)
'Utilisation
Dim element As DependencyObject
Dim value As Double
FontScaling.SetPreScaledFontSize(element, _
value)
public static void SetPreScaledFontSize(
DependencyObject element,
double value
)
public:
static void SetPreScaledFontSize(
DependencyObject^ element,
double value
)
static member SetPreScaledFontSize :
element:DependencyObject *
value:float -> unit
public static function SetPreScaledFontSize(
element : DependencyObject,
value : double
)
Parameters
- element
Type: System.Windows.DependencyObject
- value
Type: System.Double
.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.