Smrf.NodeXL.Visualization.Wpf.NodeXLControl.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
    )
    {
        AssertValid();

        // It is okay to change the font while the graph is being laid out,
        // because the font is not used until OnRender() is called.

        this.VertexDrawer.SetFont(typeface, fontSize);
    }
NodeXLControl