LVectorObject::GetObjectAttributes

#include "ltwrappr.h"

virtual L_INT LVectorObject::GetObjectAttributes(pnROP, pPen, pBrush, pFont)

L_INT * pnROP;

/* ROP code */

pVECTORPEN pPen;

/* pen characteristics */

pVECTORBRUSH pBrush;

/* brush characteristics */

pVECTORFONT pFont;

/* font characteristics */

Sets the attributes of the class object.

Parameter

Description

pnROP

Pointer to a variable to be updated with the class object's ROP code. For more information on valid ROP2 codes, refer to your SDK..

pPen

Pointer to a VECTORPEN structure to be updated with the characteristics of the pen to use when drawing the class object.

pBrush

Pointer to a VECTORBRUSH structure to be updated with the characteristics of the brush to use when drawing the class object.

pFont

Pointer to a VECTORFONT structure to be updated with the characteristics of the font used by the class object.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LVKRN

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:

LVectorObject::SetObjectAttributes

Topics:

Working with Vector Objects

Example

For an example, refer to LVectorObject::SetObjectAttributes.