Nevron .NET Vision
Nevron.GraphicsCore Namespace / NStrokeStyle Class / Width Property
Example


In This Topic
    Width Property (NStrokeStyle)
    In This Topic
    Controls the width of the lines in NLength format.
    Syntax
    'Declaration
     
    
    Public Property Width As NLength
    'Usage
     
    
    Dim instance As NStrokeStyle
    Dim value As NLength
     
    instance.Width = value
     
    value = instance.Width
    public NLength Width {get; set;}
    Remarks
    The default value is 1 pixel. When you set this value to 0 the control will not draw the line.
    Example
    Disable the line.
    strokeStyke.Width = new NLength(0, NGraphicsUnit.Pixel)
    strokeStyke.Width = new NLength(0, NGraphicsUnit.Pixel);
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also