This sample shows how to use Hide actions in PDF documents with Docotic.Pdf library.
Hide actions allows you to make some PDF controls hidden or visible. Use PdfDocument.CreateHideAction method to create an instance of PdfHideAction class. Then, use PdfHideAction.AddControl method to add controls that should be hidden or visible when the hide action is activated.