VECTORSTOCK

typedef struct tagVECTORSTOCK 
{ 
   VECTOROBJECT Object; 
   L_INT nId; 
   HINSTANCE hInstDLL; 
   L_CHAR  * pszDLLName; 
   VECTORPOINT Point[2]; 
   VECTORPEN Pen; 
   VECTORBRUSH Brush; 
} VECTORSTOCK,  * pVECTORSTOCK; 

The VECTORSTOCK structure holds information about a vector stock object.

Member

Description

Object

Abstract object.

nId

Stock object ID in its DLL. The documentation for the stock object DLL should include valid object IDs.

hInstDLL

Instance handle of the stock object DLL. This can be NULL only if pszDLLName is not NULL.

pszDLLName

Character string that contains the name of the stock object DLL. This can be NULL only if hInstDLL is not NULL.

Point

Array of VECTORPOINT structures that contains the vertices of the bounding parallelogram.

Pen

VECTORPEN structure that contains information about the pen to use when drawing the vector stock object.

Brush

VECTORBRUSH structure that contains information about the brush to use when drawing the vector stock object.

Comments

nSize of the Object member must be the sizeof this structure.

nType of the Object member must be VECTOR_STOCK.

Either hInstDLL or pszDLLName can be NULL. They cannot both be NULL. If hInstDLL is not NULL, the toolkit will load the requested object from this DLL handle. If hInstDLL is NULL, the toolkit will assume that pszDLLName indicates the complete path to the requested library.

pVECTORSTOCK is a pointer to a VECTORSTOCK structure.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Vector C++ Class Library Help