07-20-2008, 14:55
|
mosquitooth
Joined on 06-02-2008
Posts 2
|
newbie: Loading image to MedicalImageViewer
|
 
 
|
|
|
Hi,
I just started using LEADTools and wrote the following piece of code:
RasterCodecs.Startup()
Dim _codecs As RasterCodecs = New RasterCodecs()
Dim _image As RasterImage
_image = _codecs.Load("C:\Sample.jpg")
MedicalViewer1.Cells.Add(New MedicalViewerCell(_image, True, 1, 1))
RasterCodecs.Shutdown()
Unfortunately, this code fails with "Invalid File Format". Any ideas ?
Best wishes,
Peter
|
|
|
|
|
Report
|
|
|
|