Query For Aspose.Pdf

Is it possible to create non editable pdf using aspose.pdf

Hi Aparna,

Thanks for your interest in our products.

You can get your desired result by opening the PDF document with Aspose.Pdf.Facades and flatten the form fields. Please see the following sample code in this regard:

[C#]

//open document
Aspose.Pdf.Facades.Form pdfForm = new Aspose.Pdf.Facades.Form(@"D:\pdffiles\test.pdf");

//flatten fields
pdfForm.FlattenAllFields();

//save output
pdfForm.Save();

Please feel free to contact support in case you required any further assistance.

Thanks & Regards,