We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to hide a form field (e.g., image) in a PDF form using C# with Aspose.PDF for .NET

I saw DecorateField() but it looks like this is for text, changing font/color/etc. Is there a way to totally hide a field within a Form?



Thanks for contacting support.

You may please set the Flags property of form field as Aspose.Pdf.Annotations.AnnotationFlags.Hidden in order to hide them. In case you face any issue, please share your sample PDF along with the information of fields you want to hide. We will test the scenario in our environment and address it accordingly.

Thanks for the info!

1 Like