extractDib

Definition: a32Dib0 newdib = extractDib(object src, integer x1, integer y1, integer x2, integer y2)
Description: Extracts a bitmap from the rectangular region {x1, y1} -> {x2, y2} from source src
Comments: src can be an a32Dib (sequence) or a control (integer)

Returns 0 if the new bitmap could not be created

When you no longer need the bitmap, you have to delete it by calling the killDib procedure.
See Also: killDib