Rendering System.Drawing.Image as a DicomLabel

Out of the many label types available in DicomObjects .NET, LabelType.Image can be used to directly reference a System.Drawing.Image object (jpg, png, bmp, etc) ,and to be rendered as a DicomLabel on the viewer.

Code snippet:

            DicomImage img = new DicomImage("img.dcm");
            DicomLabel l = new DicomLabel()
            {
                LabelType = LabelType.Image,
                Image = Image.FromFile("sample.jpg"), 
                Left = 20,
                Top = 10,
                Width = 60,
                Height = 60
            };
            img.Labels.Add(l);
            dicomViewer1.Images.Add(img);

 

Relevance: 

We Currently Accept:

Other currencies

For Reference purposes only:

The price is based on current exchange rates but is only an approximation. Please contact us for a final price