LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
MakeRasterOperation Method
See Also 



fore
The foreground color.
back
The background color.
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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also