LBitmapWindow::EnableDrawGradient

Summary

Enables or disables drawing gradients.

Syntax

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnableDrawGradient(bEnable)

Parameters

L_BOOL 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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LBitmapWindow::SetROP3.

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

LEADTOOLS Raster Imaging C++ Class Library Help

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