Gets the background color for the digital paint automation.
#include "ltaut.h"
L_LTAUT_API L_INT L_AutGetPaintBkColor (pAutomation, prcBKColor )
Pointer to an automation handle.
Pointer to a COLORREF variable to be updated with the current digital paint automation background color.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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).
For an example, refer to L_AutSetPaintBkColor.