LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)
LEAD Technologies, Inc

MakeRasterOperation Method






The foreground color.
The background color.
Creates a ROP4 value from the specified foreground and background color values.
Syntax
public static int MakeRasterOperation( 
   int fore,
   int back
)
'Declaration
 
Public Shared Function MakeRasterOperation( _
   ByVal fore As Integer, _
   ByVal back As Integer _
) As Integer
'Usage
 
Dim fore As Integer
Dim back As Integer
Dim value As Integer
 
value = RasterPaintProperties.MakeRasterOperation(fore, back)
public static int MakeRasterOperation( 
   int fore,
   int back
)
 function Leadtools.Drawing.RasterPaintProperties.MakeRasterOperation( 
   fore ,
   back 
)
public:
static int MakeRasterOperation( 
   int fore,
   int back
) 

Parameters

fore
The foreground color.
back
The background color.

Return Value

The ROP4 value.
Remarks
You can use the MakeRasterOperation to create your own ROP4 values and pass them to the RasterOperation property.
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

Reference

RasterPaintProperties Structure
RasterPaintProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.