AUTOMATIONVECTORPROPERTIES

typedef struct _AUTOMATIONVECTORPROPERTIES
{
   L_INT nSize;
   L_UINT32 dwMask;
    VECTORPEN Pen;
    VECTORBRUSH Brush;
    VECTORFONT Font;
}AUTOMATIONVECTORPROPERTIES,  *pAUTOMATIONVECTORPROPERTIES; 

The AUTOMATIONVECTORPROPERTIES structure holds information about the Pen, Brush and Font to be used when a new vector object is created through the vector automation.

Member

Description

nSize

Size of this structure.

dwMask

Flag that indicates which members of this structure are valid. Possible values are given below. These values may be combined using a bitwise OR (|).

 

Value

Meaning

 

AUTOMATION_VECTOR_PEN

The Pen member of the structure is valid.

 

AUTOMATION_VECTOR_BRUSH

The Brush member of the structure is valid.

 

AUTOMATION_VECTOR_FONT

The Font member of the structure is valid.

 

AUTOMATION_VECTOR_MASK

The Mask member of the structure is valid.

Pen

 VECTORPEN structure that contains information about the pen to use when drawing vector objects. dwFlags determines whether or not this parameter contains valid data.

Brush

 VECTORBRUSH structure that contains information about the brush to use when drawing vector objects. dwFlags determines whether or not this parameter contains valid data.

Font

 VECTORFONT structure that contains information about the font to use when drawing vector objects. dwFlags determines whether or not this parameter contains valid data.

Comments

LAutomation::SetVectorProperty and LAutomation::GetVectorProperty are the functions used to set and get the vector automation properties.