←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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Drawing Assembly