DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Paste Method
Example

In This Topic
    Paste Method
    In This Topic
    Copies the Image Data from Windows Clipboard
    Syntax
    'Declaration
     
    
    Public Sub Paste() 
    public void 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.

    Example
    DicomImage image = new DicomImage();
    image.Paste();
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also