Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapWindow::EnableDrawGradient

Show in webframe

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnableDrawGradient(bEnable)

L_BOOL bEnable;

/* flag that indicates whether gradient drawing is enabled */

Enables or disables drawing gradients.

Parameter

Description

bEnable

Flag that indicates whether gradient drawing is enabled. Possible values are:

 

Value

Meaning

 

TRUE

Enable gradient drawing.

 

FALSE

Disable gradient drawing.

Returns

The previous state.

Comments

When drawing gradients is enabled, the control will draw a gradient into its client area using the current gradient parameters.

This setting is disabled by default.

Note: If both patterns and gradients are enabled, the drawing of gradients will override the drawing of patterns.

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.