LAutomation::GetPaintProperty

#include "ltwrappr.h"

L_INT LAutomation::GetPaintProperty(nGroup, pProperty)

PAINTGROUP nGroup;

/* type of paint properties */

L_VOID *pProperty;

/* pointer to a PAINTXXX structure */

Gets the DigitalPaint automation properties. This function is only available in the Digital Paint toolkits.

Parameter

Description

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.

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

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function will only work when the automation mode is AUTOMATION_MODE_PAINT.

Required DLLs and Libraries

LTAUT

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LAutomation::SetPaintProperty

Example

For an example refer to LAutomation::SetPaintProperty.