Eyeshot 11 WPF API Reference
WPF Assembly / devDept.Geometry Namespace / UtilityEx Class / GetFont Method
The System.Windows.Media.FontFamily.
The System.Windows.FontStyle.
The System.Windows.FontWeight.
The font size.

In This Topic
    GetFont Method
    In This Topic
    Gets a System.Drawing.Font starting from the commons WPF font values.
    Syntax
    'Declaration
     
    Public Shared Function GetFont( _
       ByVal fontFamily As FontFamily, _
       ByVal fontStyle As FontStyle, _
       ByVal fontWeight As FontWeight, _
       ByVal fontSize As Double _
    ) As Font
    public static Font GetFont( 
       FontFamily fontFamily,
       FontStyle fontStyle,
       FontWeight fontWeight,
       double fontSize
    )

    Parameters

    fontFamily
    The System.Windows.Media.FontFamily.
    fontStyle
    The System.Windows.FontStyle.
    fontWeight
    The System.Windows.FontWeight.
    fontSize
    The font size.

    Return Value

    See Also