Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, April 17, 2015 8:56:58 AM(UTC)

NathanM  
Guest

Groups: Guests
Posts: 3,049

Was thanked: 1 time(s) in 1 post(s)

Attached is a Javascript project that demonstrates how to do image processing commands on the document viewer.

In the example remember that with SVG the white part isn't technically part of the image, so it won't be inverted making your black text white on white.

File Attachment(s):
DocumentViewerIP.zip (275kb) downloaded 167 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, February 6, 2017 2:25:27 AM(UTC)
Vidya Sagar

Groups: Registered
Posts: 1


Hi, Thanks for this demo. I am facing some problems. I have taken the demo and trying to run it in my machine but it is showing "Error Loading Document". Can you please help me.
 
#3 Posted : Friday, February 10, 2017 11:32:53 AM(UTC)

Aaron  
Aaron

Groups: Registered, Tech Support, Administrators
Posts: 71

Was thanked: 3 time(s) in 3 post(s)

Unfortunately, the original post here used our older HTML5/JS Document Viewer demo which relied on our older REST services for loading the file and those REST services have since been deprecated. The error "Error Loading Document" that you are seeing is due to the Javascript libraries not being able to find the REST service endpoints via an AJAX call to request the document.

Error Loading Document

The latest version of the demo references backend services developed in either .NET or Java to load the documents. Below is a forum post on how to set up a simple version of the latest HTML5/JS Document Viewer demo with using the ASP.NET MVC Web API as an external service to load the documents:

https://www.leadtools.co...ternal-service#post41772

We also have deprecated the LoadDocumentCommands and the DocumentFactory.loadFromUri function is now used to request the document from the backend service:

https://www.leadtools.co...factory~loadfromuri.html

The post I linked above would allow you to work with the latest HTML5/JS Document Viewer demo in the same manner that you are attempting to do with the original forum post.

To get access to the latest HTML5/JS Document Viewer demo, you will need to latest version of LEADTOOLS 19 which you can get from here:

https://www.leadtools.com/downloads?category=main

If you have any further questions or concerns please let us know.
Aaron Brasington
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2017, Yet Another Forum.NET
This page was generated in 0.216 seconds.