ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / CompatibleDeviceContext Class / SetBackgroundMode Method

In This Topic
    SetBackgroundMode Method (CompatibleDeviceContext)
    In This Topic
    Sets the background mode of the device context.
    Syntax
    'Declaration
     
    
    Public Function SetBackgroundMode( _
       ByVal backgroundMode As BackgroundMode _
    ) As BackgroundMode
    public BackgroundMode SetBackgroundMode( 
       BackgroundMode backgroundMode
    )

    Parameters

    backgroundMode
    Remarks

    The BackgroundMode affects the line styles for lines drawn using a pen created by the CreatePen GDI API function. The BackgroundMode does not affect lines drawn using a pen created by the ExtCreatePen GDI API function.

    backgroundMode parameter can also be set to driver-specific values. GDI passes such values to the device driver and otherwise ignores them.

    See Also