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 : Sunday, December 4, 2011 9:39:53 PM(UTC)
samit1984

Groups: Registered
Posts: 33


i am trying to load text file ppt and xls file using

codecs.load(".txt ") and wanted to display the text file ,ppt or xls files on RasterImageViewer

i am facing 2 problem
1) loading is very slow it take 25 to 30 sec to load and display
2) display image is also not clear

Thanks & Regards
Samit
 

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, December 5, 2011 7:13:59 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Samit,

1. LEADTOOLS provides support for loading document formats (such as XLS and PPT) as raster images (rasterization). Loading time depends on different factors, such as the original file size, the loading resolution and the loading bits per pixel. So if the document contains many objects, the rasterization process will take long time.

2. You can improve the quality of the images by increasing the loading resolution when loading documents. You can do this by using the following code:
+-------------+
Dim codes As New Leadtools.Codecs.RasterCodecs
codes.Options.RasterizeDocument.Load.XResolution = 300
codes.Options.RasterizeDocument.Load.YResolution = 300
Dim XLSImage As RasterImage = codes.Load("C:\Worksheet.xls")
+-------------+

Please note that increasing the resolution will also increase the required memory for the image and might affect the loading speed even more.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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-2024, Yet Another Forum.NET
This page was generated in 0.161 seconds.