I have a small application, which cycles through PDF documents in a directory, and I’m trying to update the attributes of existing fields.
Set font to Helvetica
turn bold off
This was the code for turning off multi line, but the changes do not stick in the new PDF document.
Can you advise me on where the issue might be?
Also on how to change font and bold setting so that they stick as well.
For Each formField As Aspose.Pdf.InteractiveFeatures.Forms.Field In frmEdit.Document.Form Dim typeOfField As String typeOfField = formField.GetType().Name If typeOfField = "TextBoxField" Then Dim tbf As TextBoxField tbf = formField tbf.Multiline = False End If Next frmEdit.Save()