BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
How in C# do I do something like this Acrobat Javascript?
var t = this.templates; for ( var i=0; i < t.length; i++) { if('Disclaimer' == t[i].name) t[i].hidden = false; }
Your class
https://help.syncfusion.com/cr/file-formats/Syncfusion.Pdf.Graphics.PdfTemplate.html
Doesn't seem to be related to the Adobe template feature, or at least it doesn't list a "Hidden" attribute.
Syncfusion PDF library provides support to Layers, also known as Option Content refers to sections of content in a PDF document that can be selectively viewed or hidden by document authors or consumers. This capability is useful in items such as CAD drawings, layered artwork, maps, and multi-language documents.
Essential PDF provides support to create, add and merge the layers into a PDF document.
We have created a simple sample for your requirement, Please try this on your end and let us know the result:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Create-a-new-PDF-document845748707
Follow the below links for more information,
Yes, the confusion here is that SyncFusion templates are Acrobat layers and hence not at all related to Acrobat template pages. See https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#createtemplate
A PDF template is a drawing surface, where contents can be added. All the elements that can be added to a PdfPage are supported in PdfTemplate as well. The template in turn can be drawn over the page or can be positioned at any part of the page.
We have created a sample for your reference.
Follow the below links for more information,
https://help.syncfusion.com/file-formats/pdf/working-with-pdf-templates