FontScaling.GetPreScaledFontSize Method

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Public Shared Function GetPreScaledFontSize ( _
    element As DependencyObject _
) As Double
'用途
Dim element As DependencyObject
Dim returnValue As Double

returnValue = FontScaling.GetPreScaledFontSize(element)
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

Return Value

Type: System.Double

.NET Framework Security

See Also

Reference

FontScaling Class

FontScaling Members

Microsoft.VisualStudio.PlatformUI Namespace