LBitmapWindow::EnableDrawPattern

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnableDrawPattern(bEnable)

Enables or disables pattern drawing.

Parameters

L_BOOL bEnable

Flag that indicates whether to enable pattern drawing. Possible values are:

Value Meaning
TRUE Enable pattern drawing.
FALSE Disable pattern drawing.

Returns

The previous state.

Comments

When drawing patterns is enabled, the control will draw a pattern into its client area using the current pattern 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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help