Makes a copy of the DIB (Device Independent Bitmap) handle for a specific element for the specific layer.
Visual Basic |
---|
Public Sub PrgSetItemDIB( _ ByVal layerHandle As Long, _ ByVal seqNum As Long, _ ByVal DIBHandle As Long _ ) |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
- DIBHandle
- A handle to a DIB (or NULL).
The DIB handle you pass is copied.
You still own the original handle that you pass.
Failure to free the original will result in a memory leak.