←Select platform

MakeRasterOperation Method

Summary
Creates a ROP4 value from the specified foreground and background color values.
Syntax
C#
C++/CLI
Python
public static int MakeRasterOperation( 
   int fore, 
   int back 
) 
public: 
static int MakeRasterOperation(  
   int fore, 
   int back 
)  
def MakeRasterOperation(self,fore,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 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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