Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 360 Bytes

File metadata and controls

6 lines (4 loc) · 360 Bytes

Flatten form fields

This sample shows how to flatten form fields in a PDF document.

To flatten form fields in a PDF file please use PdfDocument.FlattenControls() method. This method draws each control on its parent page and then removes the control from the document.

Flattening locks form fields from editing and can significantly reduce output file size.