CONTAINERPAINTDATA

typedef struct _CONTAINERPAINTDATA 
{ 
   pBITMAPHANDLE pBitmap; 
   HPALETTE hRestrictionPalette; 
} CONTAINERPAINTDATA,  *pCONTAINERPAINTDATA; 

The CONTAINERPAINTDATA contains information that will be used when adding a new container during digital painting.

Members

pBitmap

Pointer to the bitmap handle that references the bitmap on which the drawing will occur. This parameter should be a valid LEAD bitmap handle; otherwise all the paint automation functions will return an error.

hRestrictionPalette

The restriction palette will be used by the automation to restrict the painting output to the nearest colors that could be found in this palette. If this field is NULL, no color restriction will be made by the toolkit.

The toolkit will copy the given handle; therefore the user could delete the handle after this function call ends.

Comments

This structure will be used only by the automated digital painting functions.

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C++ Class Library Help