LBitmapWindow::EnablePaintEffect

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnablePaintEffect(bEnable)

L_BOOL bEnable;

flag that indicates whether to enable the use of paint effects

Enables or disables the use of paint effects.

Parameter Description
bEnable Flag that indicates whether to enable or disable the use of paint effects. Possible values are:
  Value Meaning
  TRUE Enable the use of paint effects.
  FALSE disable the use of paint effects.

Returns

The previous state.

Comments

When painting effects are enabled, anytime the class object paints an image, it will be painted with the current paint effect options set by:

LBitmapWindow::SetPaintEffect

LBitmapWindow::SetMaxEffectPasses

LBitmapWindow::SetROP3

This setting is disabled by default.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Implementing Special Effects

Example

For an example, refer to LBitmapWindow::SetROP3.

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

LEADTOOLS Raster Imaging C++ Class Library Help