Enables or disables drawing gradients.
#include "ltwrappr.h"
L_BOOL LBitmapWindow::EnableDrawGradient(bEnable)
Flag that indicates whether gradient drawing is enabled. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable gradient drawing. |
FALSE | Disable gradient drawing. |
The previous state.
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.
Win32, x64.
For an example, refer to LBitmapWindow::SetROP3.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document