DicomObjects Reference
DicomObjects Reference / DicomImage Object / Paste Method
In This Topic
    Paste Method
    In This Topic
    Description
    Paste an image from the clipboard
    Syntax
    Visual Basic
    Public Sub Paste() 
    Remarks

    In order for this method to succeed, the clipboard must contain data which is, or can automatically be converted to, a device independent bitmap (DIB).
    Like the Import methods, this method modifies only the minimum number of attributes necessary to ensure consistency of the image.  In order to produce a valid DICOM SOP instance, many other attributes (depending on the SOP class) must be added.
    Depending on the format of the data on the clipboard, the resulting image may be MONOCHROME2, PALETTE COLOR, or RGB.

    Note that this method can only be applied to an existing DicomImage, so this should be created first as a new object.
     

    See Also