DBPix Documentation
Version 2.0

ImagePaste Method


Description:  Pastes an image from the clipboard, if one is available
Syntax:  boolean ImagePaste()
Return Value:  
True    An image was pasted successfully.
False    No image was available, or it was not a suitable format, or an error occurred.
Remarks:  

After decoding the image it will be resampled (resized) if specified by the ImageResampleMode property, then encoded according to the ImageSaveFormat property (and any relevant format-specific property settings for JPEG, PNG etc).

The ImageModified. and ImageChanged events will be fired, and if DBPix is bound to a data-source the source will be updated.

This function can also be accessed via the context-menu at runtime (the ViewMenuMode property controls which menu-items are displayed at runtime).

See also the ImageCopy method.

 

 

Documentation version 2.0.0