Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: how can i convert image to RasterImage?
Started by Gunasekaran at 05-09-2008 6:31. Topic has 16 replies.

Print Search « Previous Thread Next Thread »
  05-09-2008, 6:31
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Hello
        I am using leadtoll version 15.0...Can u send the sample code for printing image with Annotation,Ellipse,Text,Rectangle and Line?

Thanks in Advance
Guna


Thanks and Regards
Guna
   Report 
  05-11-2008, 10:50
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Guna,
Are you using the Annotations features of LEADTOOLS Document Imaging, and want to print the image and annotations object to a Windows pritner? If not, please explain in more details what you're trying to do exactly.

Also, please specify which LEADTOOLS programming interface (DLL API, C++ Class library, or .NET libraries) you are using.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-13-2008, 2:46
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Hello
   
        i am using VB.Net ... actually i open the image and disply in the rasterimage viwer control and draw the line and rectangle and also text when i gave print preview only imgae will appear in the print preview no rectangle and line also text does not appear in the print preview view... can u help me? i have view the all the things(line , rectangle and text)wat ever i draw the on the image that should be appear in the print preview method.

Thanks and Regards
Guna

Thanks and Regards
Guna
   Report 
  05-13-2008, 11:29
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Guna,
Please check the LEADTOOLS v15 AutomationDemo example in the following folder:
LEADTOOLS 15\Examples\DotNet\VB\AutomationDemo

This example shows how to implement print and print preview features with annotation objects.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-14-2008, 6:51
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Thansk dude



Thanks and Regards
Guna

Thanks and Regards
Guna
   Report 
  05-21-2008, 0:49
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
hello,
I want to implement print and print preview features with annotation objects in medicalviewer not in raster image viewer.Can u send me some sample code.I have used get action and set action functions for drawing rectangle over medicalviewer. I would like to combine that drawn rectangle over the image.How to do please guide me
thanks
Guna


Thanks and Regards
Guna
   Report 
  05-21-2008, 11:01
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Guna,
Can you tell me what exactly you want to print? DO you want to print the content of the Medical Viewer? Or, do you want to print the Medical Viewer with all cells?
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-22-2008, 0:25
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
How to print images along with Annotation like text ,line,rectangle using medicalviewer .
Reply Quote
I am using lead tools version 15.0... I am working onVB.net and  using medical viwer demo project.

How can I print preview the image with annotation like text and rectangle(I am able to get the results in raster image viewer but i can't get using medical viewer control).Please help  me out.
Thanks and Regards
Guna
   Report 
  05-22-2008, 0:49
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
hi,
thanks for replying ....
I want to print content of the medicalviewer..

thanks
Guna

Thanks and Regards
Guna
   Report 
  05-22-2008, 9:32
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Guna,

Please try to use the GetCellImage method. This method returns a printable version of the cell. For more details please check our .NET help file.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-23-2008, 0:42
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Re: Sample code for printing image with annotation,line,rectangle,circle,ellipse?
Reply Quote
Hi,
How to store the image obtained through GetCellImage method in RasterImage.
for example,
Dim n_image as Image
n_image =_medicalviewer.Cells(0).GetCellImage
Dim r_image as RasterImage
r_image =_medicalviewer.Cells(0).GetCellImage ----it gives error
r_image =n_image.clone-----it gives error......
 How to store n_image in RasterImage....Please guide me ......


Thanks
Guna


Thanks and Regards
Guna
   Report 
  05-23-2008, 4:29
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
how can i convert image to RasterImage?
Reply Quote
Hi dude

i am using leadtools version 15.0, working in VB.net medical viewer project.
    i try to convert image to rasterimage using following code
******************************************
Dim rasimage as RasterImage
Dim myimage as image
image=_medicalviewer.cells(0).GetCellImage
rasimage=new RasterImage(myimage)
******************************************
but the last line
rasimage=new RasterImage(myimage) goves not enough memory error. can u help me any mistake in above code.
i need Conversion from image to RasterImage

Thanks and Regards
Guna


Thanks and Regards
Guna
   Report 
  05-25-2008, 11:34
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: how can i convert image to RasterImage?
Reply Quote
Guna,
Please try the following code to store the image you get from the GetCellImage method in a LEAD Raster image:
Dim image As RasterImage = New RasterImage(_medicalViewer.Cells(0).GetCellImage())


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  05-26-2008, 23:58
Gunasekaran is not online. Last active: 11/27/2008 11:00:21 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 173
Re: how can i convert image to RasterImage?
Reply Quote
Ismail,
I am still getting the same error...Is there any other way to store Getcellimage into raster image,....Please reply me ...its very urgent....

Thanks
Guna

Thanks and Regards
Guna
   Report 
  05-27-2008, 10:39
Adnan Ismail is not online. Last active: 11/20/2008 4:22:06 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,318
Re: how can i convert image to RasterImage?
Reply Quote
Guna,
I added this line to our Medical Viewer Demo and I did not see the problem. The demo is located under this path:
LEADTOOLS 15\Examples\DotNet\VB\MedicalViewerDemo

Does this error appear in your own code and on a specific image? If yes, please try to isolate it in a small test project (not your full application) and I will check it for you. If you want to send the project, please put it in a ZIP or RAR file


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
 Page 1 of 2 (17 items) 1 2 »
LEAD Support Fo... » General » Example Request... » Re: how can i convert image to RasterImage?

Powered by Community Server, by Telligent Systems