DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / Import Method / Import(Image) Method
The image to import






In This Topic
    Import(Image) Method
    In This Topic
    Copies the image data from an external generic image object
    Syntax
    'Declaration
     
    
    Public Overloads Sub Import( _
       ByVal Image As System.Drawing.Image _
    ) 
    'Usage
     
    
    Dim instance As DicomImage
    Dim Image As System.Drawing.Image
     
    instance.Import(Image)
    public void Import( 
       System.Drawing.Image Image
    )
    public procedure Import( 
        Image: System.Drawing.Image
    ); 
    public function Import( 
       Image : System.Drawing.Image
    );
    public: void Import( 
       System.Drawing.Image* Image
    ) 
    public:
    void Import( 
       System.Drawing.Image^ Image
    ) 

    Parameters

    Image
    The image to import
    Remarks

    Like the Paste method, 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.

    A multiframe image is created if the input data is a multipage Image

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also