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 : Tuesday, March 12, 2013 1:13:19 AM(UTC)

asdsuez  
asdsuez

Groups: Registered
Posts: 2


i use below code to save pdf to streem
Codecs.Save(_viewer.Image, mm, RasterImageFormat.RasPdf, 24)

but when i tray to save docx or xlsx file to streem by same code after change the format

Dim mm As MemoryStream
mm = New System.IO.MemoryStream()
Dim Codecs As New Codecs.RasterCodecs
Codecs.Save(_viewer.Image, mm, RasterImageFormat.Xlsx, 24)
i face problem below
Feature not supported
what i can do
 

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 : Tuesday, March 12, 2013 5:34:39 AM(UTC)

Ibrahim  
Guest

Groups: Guests
Posts: 3,040

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

According to our documentation, our toolkit doesn't support writing DOCX and XLSX files as a raster image. It only supports loading these formats as raster image
This means the RasterCodecs.Save() method should not be used to save these file formats.

Note that although other classes of LEADTOOLS support saving Office files (such as OCR result or Document Converters), the RasterCodecs class doesn't.

Edited by moderator Thursday, December 1, 2016 7:20:16 PM(UTC)  | Reason: Not specified

 
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-2019, Yet Another Forum.NET
This page was generated in 0.173 seconds.