Render & Display DocX with OpennXML

Discussions about DOCX format support.
Post Reply
User avatar
Sephir
Posts: 12
Joined: Wed Sep 17, 2014 5:38 pm
Location: Germany
Contact:

Render & Display DocX with OpennXML

Post by Sephir » Sun Feb 12, 2017 7:03 pm

Hi GDPicture Team,

i searched now for a while in the Forum, but either I missed it or it there [yet] ;)

Im using GDPicture 12.0.58 Ultimate SDK and im wondering how the docx-rendering is working ? Unfortunately, i cant find any examples. In Your comparison Matrix it only available in "Ultimate". Now, I wonder if there's any example how to use it ? Is it "only" loading into the GDViewer ?

In my case im trying to load a docx-File from the harddisk and convert it into tiff for further processing. Right now, this is not possible, right ? (I found an similar Forumpost regarding converting into a PDF-file - that is not supported yet)

How is working with the docx meant ? I would be very thankful if you have an example to load/render or create a docx-file (C# .NET 4.52).
Kind regards,

Matthias Rieck / KGS Software

Cedric
Posts: 258
Joined: Sun Sep 02, 2012 7:30 pm

Re: Render & Display DocX with OpennXML

Post by Cedric » Thu Feb 16, 2017 5:13 pm

Hi Matthias

Indeed you're right, at the moment (i.e. in GdPicture.NET 12) the docx support is restricted to display through GdViewer only.
Docx format conversion will be possible in the next major release though (this is expected to be published around March).

That said there is a workaround that allows you to convert a docx to a tiff by simply opening it in GdViewer and export it using the (normally annotation-dedicated) method that is SaveDocumentToTIFF with something like this:

Code: Select all

GdViewer1.SaveDocumentToTIFF("output.tiff", TiffCompression.TiffCompressionAUTO);

User avatar
Sephir
Posts: 12
Joined: Wed Sep 17, 2014 5:38 pm
Location: Germany
Contact:

Re: Render & Display DocX with OpennXML

Post by Sephir » Sun Mar 05, 2017 6:22 pm

Hi Cedric,

ah I understand. Thanks :) Sounds good!

So im looking forward the next release ;)
Regards

Matthias

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest