FontScaling.GetPreScaledFontSize Method
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function GetPreScaledFontSize ( _
element As DependencyObject _
) As Double
public static double GetPreScaledFontSize(
DependencyObject element
)
public:
static double GetPreScaledFontSize(
DependencyObject^ element
)
static member GetPreScaledFontSize :
element:DependencyObject -> float
public static function GetPreScaledFontSize(
element : DependencyObject
) : double
Parameters
- element
Type: System.Windows.DependencyObject
Return 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.