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


In This Topic
    Color Property (NStrokeStyle)
    In This Topic
    Controls the line color.
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlIgnoreAttribute()>
    Public Property Color As System.Drawing.Color
    'Usage
     
    
    Dim instance As NStrokeStyle
    Dim value As System.Drawing.Color
     
    instance.Color = value
     
    value = instance.Color
    [System.Xml.Serialization.XmlIgnore()]
    public System.Drawing.Color Color {get; set;}
    Remarks
    When line antialising is turned on the component also uses the alpha value of the color to produce a transparent line.
    Example
    strokeStyle.Color = Color.Blue;
    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