Smrf.NodeXL.Visualization.Wpf.VertexAndEdgeDrawerBase.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_oFormattedTextManager.SetFont(typeface, fontSize);
    }