←Select platform

MakeRasterOperation Method

Summary
Creates a ROP4 value from the specified foreground and background color values.
Syntax
C#
VB
C++
public static int MakeRasterOperation( 
   int fore, 
   int back 
) 
Public Shared Function MakeRasterOperation( _ 
   ByVal fore As Integer, _ 
   ByVal back As Integer _ 
) As Integer 
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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.