PAINTHANDLE
The PAINTHANDLE structure serves as a working area for the painting functions. The user can initialize the paint handle at the start of program and save it in a variable. The paint handle can then be used with any LEAD DigitalPaint tools function. When the paint handle is no longer needed, the user can free it. Therefore, the user doesn’t have to initialize the paint handle and free it every time it is used.