LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

MakeRasterOperation Method

Show in webframe





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
) 

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

See Also

Reference

RasterPaintProperties Structure
RasterPaintProperties Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.