ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / CompatibleDeviceContext Class / ForegroundColor Property

In This Topic
    ForegroundColor Property (CompatibleDeviceContext)
    In This Topic
    Gets or sets the color of the foreground of the device context.
    Syntax
    'Declaration
     
    
    Public Property ForegroundColor As Color
    public Color ForegroundColor {get; set;}

    Property Value

    A System.Drawing.Color structure that indicates the color of the foreground of the device context.
    Remarks
    The Color is used to draw the face of each character written by the TextOut and ExtTextOut functions. The Color is also used in converting bitmaps from color to monochrome and vice versa.
    See Also