Copies an image from a specified image buffer to the current processor image buffer.
Visual Basic |
---|
Public Sub CopyImage( _ ByVal lCopyFromImageID As Long, _ ByVal lCopyImageModeFlags As Long _ ) |
- lCopyFromImageID
- The ID of the image buffer to copy.
- lCopyImageModeFlags
A combination of the enumCopyImageMode flags:
Value Description COPYIMG_NO_EXCLUSION (0) - Nothing is excluded. COPYIMG_EXCLUDE_UNDO (1) - Undo image is not copied. COPYIMG_EXCLUDE_TAGS (2) - Tags are not copied. COPYIMG_EXCLUDE_ANNOT (4) - Annotations are not copied.
If the Merge method is set, the ICopyFromImageID image is merged into the image of the current processor image buffer. This method has a flags parameter allowing the inclusion\exclusion of pieces of the image buffer: Undo Image, Image Property tags, Annotation data, etc.