ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / GetRasterOperationCode Method

In This Topic
    GetRasterOperationCode Method
    In This Topic
    retrieves the foreground mix mode of the specified device context. The mix mode specifies how the pen or interior color and the color already on the screen are combined to yield a new color.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetRasterOperationCode() As RasterOperationCode
    public virtual RasterOperationCode GetRasterOperationCode()

    Return Value

    If the function succeeds, the return value specifies the foreground mix mode. otherwise zero indicates failed.
    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