←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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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