GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / GetPenWidth(Pen,GoView) Method
In This Topic
    GetPenWidth(Pen,GoView) Method
    In This Topic
    Get the effective width of a pen in a view.
    Syntax
    public static float GetPenWidth( 
       Pen pen,
       GoView view
    )

    Parameters

    pen
    view

    Return Value

    Zero if pen is null. If the pen's Width is zero, this returns the width of one pixel in the view, if the view is non-null, inversely proportional to the GoView.DocScale. Otherwise this just returns the pen's Width.
    See Also