Flatten PDF document to make textstamp non editable using Aspose.PDF

Is there any possible way to make component non editable by any viewer? For example make textstamp not editable or image


You can try Document.Flatten() method to flatten the PDF document. In case it does not help, please share a sample PDF document so that we can test the scenario in our environment and address it accordingly.