Below is the C# code which is taking longer time to execute
public void CreatePDFFile()
{
try
{
var logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
…...rendering, full‑font embedding, encryption, etc.). Every extra feature...really need PDF protection. Encryption adds a processing pass. Example...