Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MakeRasterOperation Method
See Also 
Leadtools Namespace > RasterPaintProperties Structure : MakeRasterOperation Method



fore
The foreground color.
back
The background color.
Creates a ROP4 value from the specified foreground and background color values.

Syntax

Visual Basic (Declaration) 
Public Shared Function MakeRasterOperation( _
   ByVal fore As Integer, _
   ByVal back As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim fore As Integer
Dim back As Integer
Dim value As Integer
 
value = RasterPaintProperties.MakeRasterOperation(fore, back)
C# 
public static int MakeRasterOperation( 
   int fore,
   int back
)
C++/CLI 
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also