L_AutGetPaintProperty

Summary

Gets the current digital paint automation properties.

Syntax

#include "ltaut.h"

L_LTAUT_API L_INT L_AutGetPaintProperty (pAutomation, nGroup, pProperty)

Parameters

pAUTOMATIONHANDLE pAutomation

Pointer to an automation handle.

PAINTGROUP nGroup

Indicates the paint properties to get and the structure pointed to by pProperty. Possible values are:

Value Meaning
PAINT_GROUP_BRUSH Get the Paintbrush properties. pProperty points to a PAINTBRUSH structure.
PAINT_GROUP_SHAPE Get the Paint shape properties. pProperty points to a PAINTSHAPE structure.
PAINT_GROUP_REGION Get the Paint region properties. pProperty points to a PAINTREGION structure.
PAINT_GROUP_FILL Get the Paint fill properties. pProperty points to a PAINTFILL structure.
PAINT_GROUP_TEXT Get the Paint fill properties. pProperty points to a PAINTTEXT structure.

L_VOID * pProperty

Pointer to a PAINTXXX structure to be updated with the specified property values. The type of structure that this parameter points to is indicated by the nGroup parameter.

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 SDK.

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.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_AutSetPaintProperty.

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.