LPaintEffect::SetForegroundColor

#include "ltwrappr.h"

L_INT LPaintEffect::SetForegroundColor(crFill)

Sets the foreground color that will be used in the drawing functions.

Parameters

COLORREF crFill

The foreground color.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LPaintEffect::DrawFrame.

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

LEADTOOLS Raster Imaging C++ Class Library Help