Welcome to LEAD Support Forum Login | Register | Faq  

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

How to display Annotation toolbar or toolbox in web page? using javascript?
Started by bipino7 at 07-02-2008 2:23. Topic has 37 replies.

Print Search « Previous Thread Next Thread »
  07-02-2008, 2:23
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 displayed annotation toolbar locally but it is not showing toolbar in other client machine.what are the dependent controls that should be installed in other client machines for displaying toolbar.
   Report 
  07-02-2008, 9:02
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
The help file article "Files to be Included With Your Application" will explain the dlls you need to distribute.

You should also look at our FAQ article "51FAQ: HOW TO: Distribute our controls via the web" which you can view here:

http://support.leadtools.com/SupportPortal/desktopmodules/viewarticle.aspx?aid=51FAQ

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-07-2008, 5:25
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
Hi, how do I display only some of the few rubber stamp annotations objects in the toolbar? I'd like to prevent users for selecting any other stamps since we want to only display approved,assigned,important,urgent rubber stamps.
i'm using leadtools activex v14.5 with javascript and also how do i display xpstyle toolbar with javascript.Currently i only get to use classical toolbar.
thanks
   Report 
  07-07-2008, 10:14
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
The XP Style annotations are not available in the OCX interface.  If you want to use the XP Style annotations, you will need to use the COM interface.

You can set buttons invisible by setting the ButtonVisible property to false.  For Button menu items (when there are multiple annotation tools associated with a single button), you must set the ButtonMenuTextID property to -1.  For an example of how to use these properties, please see the documentation for them in the Main OCX help file.

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-08-2008, 7:49
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
hi, i could not find any javascript documentation/ help file for solving my previous issues. I am facing problems working with javascript as it does not exposed any of its methods and properties.Is there anywhere i can find a solution?Also is it possible to load multiple page tiff file an saving annotation in multi page tiff file.
Thanks
   Report 
  07-08-2008, 11:02
Yasir Alani is not online. Last active: 9/28/2008 9:11:17 AM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 225
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
I'm afraid that we don't have any Javascript documentations for our toolkit. However, the ActiveX and COM Objects codes are easily used with Javascript, and you may be able to use them to write your code.

About multi-page TIFF files, you should be able to load them and save annotations to them. Different annotations can be saved on different pages.
Yasir Alani
LEADTOOLS Technical Support
support@leadtools.com
   Report 
  07-10-2008, 6:02
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
Hi, do you have any javascript code examples for working with leadtools activex 14.5 so that i can explore more on that.Currently am facing problems in loading and saving annotations in multi page tiff file and also removing some of the buttons from annToolbar.

All your help with be appreciated.

Thanks
   Report 
  07-11-2008, 11:04
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
I don't have any javascript examples for this functionality.  All of the functions for the Main ActiveX control will work in Javascript just like it does for VB, C++ or any other language.  You just need to port the code to javascript which shouldn't be too hard to do from the VB examples.

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-29-2008, 2:34
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
Hi..I have a deployment issue of my web application that uses leadtools activex 14.5 version.I have used leadtool main activex control.I made a cab file that includes ltocx14e.ocx with all its dependent dlls.my application works perfectly well while running locally but when i tried to run in other client machines it could not installed the dependent controls. The popup message says as "Microsoft could not installed this software because it could not veryfy the publisher".Pls help me how to fix this problem.

Thanks
   Report 
  07-29-2008, 5:10
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 sample code.I displayed toolbar and it works perfectly well.Now the only issue is how to display the same toolbar in other client machines where leadtools activex version is not installed.I also checked the lead main help file including "files to be included with your application" but still couldn't sort out the necessary ocx and dlls.Can you please tell me how to fix these deployment issues.

Thanks
   Report 
  07-29-2008, 10:44
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
 bipino7 wrote:

The popup message says as "Microsoft could not installed this software because it could not veryfy the publisher"


This is a security issue.  You need to either sign your CAB file or lower the security settings in IE.  It looks like the links in the 51FAQ article have been moved and MSDN didn't make a redirect page (I'll make sure to fix this).  Please take a look at this article:

http://msdn.microsoft.com/en-us/library/3h8ff753(VS.80).aspx

If you need further help with creating a CAB file or with IE's security settings, please contact Microsoft.

Greg Ross
LEADTOOLS Technical Support
   Report 
  08-07-2008, 4:39
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
Hi,
I would like to know how to load tiff file using url host i.e using http:// as file location in lead activex main control.

Thanks
   Report 
  08-07-2008, 12:09
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
Use the BitmapDataPath property to do this.  For more information and an example, please see the Raster main ActiveX help file.
Greg Ross
LEADTOOLS Technical Support
   Report 
  08-08-2008, 1:29
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
Hi, I used BitmapDataPath property in javascript but could not achieve the result.I am not sure if i can use this property in javascript as I am working with leadtool activex and javascript.Also I need to load multipage tiff file with this propery as well.
   Report 
  08-08-2008, 9:42
GregR is not online. Last active: 9/30/2008 12:26:32 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,607
Re: How to display Annotation toolbar or toolbox in web page? using javascript?
Reply Quote
The BitmapDataPath property works fine in javascript for me.  Most likely you are simply pointing it to an invalid URL or you haven't deployed the necessary DLLs for loading that file.

BitmapDataPath also works with multipage files.  However, you must wait for the image to completely load (READYSTATE_COMPLETE) before trying to change any properties such as BitmapListIndex.

<html>
<head>
<script Language="JavaScript">
    function OnLoadFunction()
    {
        LEAD1.BitmapDataPath = "http://www.leadtools.com/images/05web-home-logo.gif";
    }
</script>
</head>
<body onLoad="BLOCKED SCRIPTOnLoadFunction();">
      <OBJECT id=LEAD1 name=1 
      classid=CLSID:00140000-B1BA-11CE-ABC6-F5B2E79D9E3F
      width=500 height=400></OBJECT>
</body>
</html>

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

Powered by Community Server, by Telligent Systems