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 display Annotation toolbar or toolbox in web page? using javascript?
Started by bipino7 at 08-11-2008 7:28. Topic has 37 replies.

Print Search « Previous Thread Next Thread »
  08-11-2008, 7:28
bipino7 is not online. Last active: 8/17/2008 5:43:53 AM bipino7

Top 200 Posts
Joined on 06-13-2008
Posts 15
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
Thanks for your quick support.Now i can load my tiff file using http url host. Now i also need to save annotations in the tiff file in that same http url location and then also need to load the annotation files.I'm currently using annsave and annload method for this, which works fine while working locally.I guess these methods does not support 'http' as annotation file location, in that case how can i save and load annotations using http url location.

Thanks
   Report 
  08-11-2008, 9:12
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,811
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
We do not have anything that can load or save the annotation files using a URL.  You will need to download/upload the files from/to the server.  We do not provide anything to download and upload files, so you will need to check out MSDN for help with downloading and uploading files to your server.

Greg Ross
LEADTOOLS Technical Support
   Report 
  08-12-2008, 4:40
bipino7 is not online. Last active: 8/17/2008 5:43:53 AM bipino7

Top 200 Posts
Joined on 06-13-2008
Posts 15
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
I used annDataPath property for loading of annotation files from the url,but could not achieve the result,it says 'ltocx14e:featured not available';.Is there any possibility to save and load annotation files using url beside uploading and downloading.
   Report 
  08-12-2008, 10:09
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,811
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
AnnDataPath should allow you to load annotation files, but in order to save them you would still need to upload them to the server. 

I was not able to reproduce your error on my end.  Make sure that the annotation file is valid and that your URL is correct. 

What is your file version of ltocx14*.ocx?

Greg Ross
LEADTOOLS Technical Support
   Report 
  08-13-2008, 1:09
bipino7 is not online. Last active: 8/17/2008 5:43:53 AM bipino7

Top 200 Posts
Joined on 06-13-2008
Posts 15
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
I am using leadtools 14.5 and ltocx14e.ocx main control. I tried using annDataPath property with http and ftp in a url.In both cases, i got the same featured not supported message alert.

Also i need to make sure annDataPath property will load annotations in each file of multi page tiff file.However this works fine with annload method while loading annotations locally.In annLoad method,we have to provide page number along with file location.


   Report 
  08-13-2008, 9:45
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,811
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
I see that you are evaluating the SDK, that's fine.  However, I needed the FILE version of ltocx14e.ocx (i.e. 14.5.0.x).  I want to make sure you are using the latest DLLs.  However, this might not make any difference since it looks like you won't be able to use AnnDataPath for your application.

There is no way to specify a page number with the AnnDataPath property.  If you  need to have multiple pages in your annotation file, then you will need to use AnnSave and AnnLoad.

Greg Ross
LEADTOOLS Technical Support
   Report 
  08-14-2008, 0:32
bipino7 is not online. Last active: 8/17/2008 5:43:53 AM bipino7

Top 200 Posts
Joined on 06-13-2008
Posts 15
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
my file version of ltocx14e.ocx is 14.5.0.44.

AnnSave and AnnLoad supports only local drive file path i.e like c://tmp.tiff. These methods does not support http file path.So we cannot use these methods to load file using url

so if we have to load multi annotations files of multi page tiff file how should we do this using http url.

How does AnnDataPath load annotations file of multi page tiff file


   Report 
  08-14-2008, 9:33
GregR is not online. Last active: 1/2/2009 9:03:27 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,811
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
You cannot load multipage annotation files with AnnDataPath.  It ONLY loads single page annotation files.

To load a multipage annotation file, you will need to download it from the server to the local machine, then open it with AnnLoad.  To save the annotation files, you will need to use AnnSave to save it to the local disk, then upload it to your server.

Due to browser security limitations and limitations within javascript, you will not be able to download and upload files.  You will need to use some kind of scripting language such as ASP or ASP.NET.  Unfortunately, this aspect of your application is outside the scope of our support, so you will need to contact Microsoft or a general web development forum.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
 Page 3 of 3 (38 items) « 1 2 3
LEAD Support Fo... » General » Feature Request... » Re: How to display Annotation toolbar or toolbox in web page? using javascript?

Powered by Community Server, by Telligent Systems