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 to print Annotation using Lead Tools
Started by sangareddy at 10-03-2008 4:55. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  10-03-2008, 4:55
sangareddy is not online. Last active: 10/3/2008 8:43:34 AM sangareddy

Not Ranked
Joined on 10-03-2008
Posts 1
How to print Annotation using Lead Tools
Reply Quote

Hi,

  I am using Lead Tools to do Annotation. i wants to print Annotations using Lead tools code.

Please send the solution or please guide how to proceed to implement this functionality .

 

 

Thanks

sangam


   Report 
  10-05-2008, 5:32
Maen Hasan is not online. Last active: 12/30/2008 4:32:47 PM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,876
Re: How to print Annotation using Lead Tools
Reply Quote
Sangam,

Which LEADTOOLS version (v14.5, v15, v16, etc.) are you using?
Are you using the LEADTOOLS .NET Class Library programming interface? If yes, there's a class named Leadtools.Annotations.AnnPrinter that supports printing of an RasterImage and a AnnContainer. This class has help topics and code samples in the LEADTOOLS for .NET Class Library Help file.
To find it, go to the index and type "AnnPrinter class".

Thanks,
Maen Badwan
LEADTOOLS Technical Support

   Report 
  11-13-2008, 4:31
animesh_raj is not online. Last active: 11/13/2008 9:26:17 AM animesh_raj

Top 500 Posts
Joined on 11-13-2008
Posts 10
Re: How to print Annotation using Lead Tools
Reply Quote
hye,

I have a simialar problem. I have to print multiple documents with their annotations. The real problem is that I cannot use container for printing all the documents. I have to load the tiff file with thier annotation file( which are stored seperately in two different locations).


   Report 
  11-13-2008, 13:31
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,364
Re: How to print Annotation using Lead Tools
Reply Quote
Please do not assume that you are facing the same problem mentioned in older post. Please provide me with more details about your problem. Which LEADTOOLS version (v14.5, v15, v16, etc.) are you using? Also, which LEADTOOLS programming interface (DLL API, .NET Classes, C++ Class Library, etc.) are you using?
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  11-14-2008, 0:01
animesh_raj is not online. Last active: 11/13/2008 9:26:17 AM animesh_raj

Top 500 Posts
Joined on 11-13-2008
Posts 10
Re: How to print Annotation using Lead Tools
Reply Quote
Well I have been using v15 and .NET for it.
My case is that, suppose I have a tiff file named :::



C:\1.tiff and its annotation file D:\1.ann;
C:\2.tiff and its annotation file D:\2.ann;
C:\3.tiff and its annotation file D:\3.ann;
C:\4.tiff and its annotation file D:\4.ann;



Here tiff file and annotation files are stored into two different locations and we have been loading the annotation and tiff file into the container for viewing and manipulating annotations.

Now the user has to perfrom batch printing , ie if the user selects document 1, 2, and 4 we have to print the tiff file along with the annotation over it.

currently we have been doing this for single file by:

AnnPrinter printer = new AnnPrinter();

LoadAnnotations(objAnnVariables._Org_FileName, _container);

printer.Print(this._viewer.Image, this._viewer.Image.Page, this._container, e);

But since multiple documents are selected here , it will not be efficient to load the tiff file and annotation into conatiner and print them.

What I actually want is some method to unite these two files and print muitple documents on fly.

Hope I made it more clear , and solutions would appear soon.

Thanks in advance.






   Report 
  11-16-2008, 8:53
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,364
Re: How to print Annotation using Lead Tools
Reply Quote
Since the bitmap is stored in one file (TIFF images) and the annotation objects are stored in another file (.ANN file), the only way to print them together is to load each of them then perform printing.

The location different between the TIFF and ANN files is not important. Even if they were in the same folder, you will also need to load both the image and annotations before displaying or printing them.

There is a way to perform only one load operation, which is to burn the annotation objects on your images before saving it in the first place. This way, they become part of the image and you only need to load and print your Tiff files. However, if you do that, you will not be able to edit or modify the objects.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Annotations » Re: How to print Annotation using Lead Tools

Powered by Community Server, by Telligent Systems