Gets a copy of the DIB (Device Independent Bitmap) handle for a specific element for the specific layer.
Visual Basic |
---|
Public Function PrgGetItemDIB( _ ByVal layerHandle As Long, _ ByVal seqNum As Long _ ) As Long |
- layerHandle
- The handle of a layer returned by the CreateLayer method.
- seqNum
- The handle of an element returned by the ElementAppend method.
A copy of the handle for the DIB.
The handle returned belongs to you, and it is your obligation to free it or pass it on.
Failure to free the copy will result in a memory leak.