Free Support Forum - aspose.com

Create button print PDF page

Hi,
I'm using the Aspose Word 11.5. Is there any way to create the button in 1 page of word file and then after using doc.Save(pdfFile, Aspose.Words.SaveFormat.Pdf); , it creates the PDF file and in that PDF file the button still there and when I click the button in that page, it will print that page out to printer.

Thanks
Tom

Hi Tom,


Thanks for your inquiry. The CommandButton in MS Word are ActiveX controls. Unfortunately, there is no way to insert ActiveX controls into MS Word documents using Aspose.Words. However, we had already logged this feature request as WORDSNET-1877 in our issue tracking system. You will be notified via this forum thread once this feature is available.

Moreover, there is no way to create or modify macros using Aspose.Words; macros are preserved upon open and save with Aspose.Words. Also, there is no way to run macros at the moment using Aspose.Words. However, we will consider providing limited support of macros such as reading a macros from document sometime in the future.


We apologize for your inconvenience.