L_AutGetPaintBkColor

#include ltaut.h

L_LTAUT_API L_INT L_AutGetPaintBkColor (pAutomation, prcBKColor )

Gets the background color for the digital paint automation.

Parameters

pAUTOMATIONHANDLE pAutomation

Pointer to an automation handle.

COLORREF * prcBKColor

Pointer to a COLORREF variable to be updated with the current digital paint automation background color.

Returns

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

Comments

Note: This function is only available in the Digital Paint toolkits.

This function will only work if the automation handle was created using the AUTOMATION_MODE_PAINT automation mode. For information on creating an automation handle, refer to L_AutCreate.

The default color retrieved by this function is RGB (0, 0, 0).

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_AutSetPaintBkColor.

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

LEADTOOLS Container and Automation C API Help