Creates a copy of an image.
Number: Handle of the image
Number: Part of the image to copy. The top left corner of an image is always 0,0.
Number: Specify MIMG_TYPE_UNKNOWN to use the type of the source image or one of the supported image types.
Number: Any combination of the following constants:
Copies the source image's opacity
Number: Handle of the copy if successful or 0 if an error occurs
In this example a copy with a size of 10 x 10 pixels is created. It has the same type as the source image. The opacity is also copied:
Set hImageCopy = MImgCreateCopyEx( hImage, 5, 5, 15, 15, MIMG_TYPE_UNKNOWN, MIMG_COPY_OPACITY )
Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?