L_AutGetPaintBkColor

Summary

Gets the background color for the digital paint automation.

Syntax

#include "ltaut.h"

L_LTAUT_API L_INT L_AutGetPaintBkColor (pAutomation, prcBKColor )

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.