Smrf.NodeXL.Visualization.Wpf.FormattedTextManager.SetFont C# (CSharp) Method

SetFont() public method

public SetFont ( System.Windows.Media.Typeface typeface, Double fontSize ) : void
typeface System.Windows.Media.Typeface
fontSize Double
return void
    SetFont
    (
        Typeface typeface,
        Double fontSize
    )
    {
        Debug.Assert(typeface != null);
        Debug.Assert(fontSize > 0);
        AssertValid();

        m_oTypeface = typeface;
        m_dFontSize = fontSize;
    }