Burning annotations to docx fails

Discussions about DOCX format support.
Post Reply
Posts: 7
Joined: Tue May 10, 2016 10:48 am

Burning annotations to docx fails

Post by mgolland » Tue Dec 12, 2017 4:17 pm


In GDPicture 14, I am able to add and save annotations to a .docx file, but when I try to burn the annotations to a .docx for exporting I always seem to end up with a blank document.

I think this is because I am trying to create a gdpictureimage object from the .docx stream (before calling BurnAnnotationsToPage) which returns 0 and creates a status of 'UnknownImageFormat'.

Code looks like:

Code: Select all

var gdImageId = gdImaging.CreateGdPictureImageFromStream(originalDocumentStream, GdPicture14.DocumentFormat.DocumentFormatOpenXMLWord);

for (var i = 1; i <= gdImaging.GetPageCount(gdImageId); i++)
	oAnnotationManager.BurnAnnotationsToPage(true, false);



Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest