I'm trying to set all the text fields font to new values. The following codes doesn't throw any exceptions or errors, but the properties never change
string pdfFile = @"C:\Projects\Miscellaneous\Console\UnsecurePDF\UnsecurePDF\DA3161_Dec2023.pdf";
byte[] contents = File.ReadAllBytes(pdfFile);
MergeDocument document = new MergeDocument(contents);
for (int i = 0; i < document.Form.Fields.Count; i++)
{
var formField = document.Form.Fields[i];
var fieldName = formField.Name;
document.Form.Fields[i].Font = ceTe.DynamicPDF.Text.TimesRoman.TimesRoman;
float fontSize = 8.00f;
document.Form.Fields[i].FontSize = fontSize;
}
document.Draw(pdfFile);