FontScaling.GetPreScaledFontSize Method
Microsoft internal use only.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: DependencyObject
Return Value
Type: 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.