Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also