I'm having 2 issues.
Issue #1 is with Aspose.Words. I have an existing Word 2007 document that all I do is save it in PDF format. There are 3 images in the 1st page header of that document. The top of 2 of the 3 images are getting clipped when saved to PDF format.
Aspose.Words.Document doc = new Aspose.Words.Document(@"C:\Projects.NET\AsposeTest\test.docx");
doc.Save(@"C:\Projects.NET\AsposeTest\test.pdf", Aspose.Words.SaveFormat.Pdf);
Issue #2 is with Aspose.Pdf.Kit. I want to change security on a PDF such that the only thing allowed is to allow modification of annotations. When I set AllowModifyAnnotations to true, instead allowing 'Commenting', it allows 'Filling of form fields'.
Aspose.Pdf.Kit.PdfFileSecurity fileSecurity = new Aspose.Pdf.Kit.PdfFileSecurity(@"C:\Projects.NET\AsposeTest\test.pdf", @"C:\Projects.NET\AsposeTest\test2.pdf");
Aspose.Pdf.Kit.DocumentPrivilege privilege = Aspose.Pdf.Kit.DocumentPrivilege.ForbidAll;
privilege.AllowModifyAnnotations = true;
fileSecurity.SetPrivilege("", "", privilege);
I have version 9.4.0 of Aspose.Words and version 4.8.0.0 of Aspose.Pdf.Kit. I am using Visual Studio 2008, O/S is XP if that matters.
Attached is a zip file with the VS2008 solution, the docx input file and the resulting PDF output files.