How can I create an editable text field in the PDF document?
Use AddEditBox method. Set PDF = CreateObject(“PDFCreatorPilot.PDFDocument4”) PDF.SetLicenseData “demo”, “demo” PDF.AddEditBox 20, 35, 120, 50, “ed1” PDF.AnnotUnicodeText = “Enter text here…” PDF.ControlBackColor = &HDDCCFF PDF.ControlTextAlign = 1 ‘taCenter PDF.AddEditBox 20, 65, 120, 80, “ed2” PDF.AnnotUnicodeText = “password” PDF.EditBoxMaxLength = 8 PDF.IsPasswordEditBox = true PDF.ControlTextAlign = 2 ‘taRight PDF.ControlUnicodeHint = “This is the hint for edit” PDF.AddEditBox 20, 95, 220, 170, “ed3” PDF.AnnotUnicodeText = “Multiline edit box” PDF.ControlTextAlign = 1 ‘taCenter PDF.ControlVerticalAlign = 0 ‘vaTop PDF.IsMultilineEditBox = true PDF.ControlFont = PDF.AddFont(“Georgia”, false, false, false, false, 1) ‘FontCharset.fcDefault PDF.ControlFontSize = 14 PDF.ControlTextColor = &HFF00CC PDF.AddEditBox 20, 185, 120, 200, “ed4” PDF.AnnotUnicodeText = “No border here” PDF.ControlShowBorder = false PDF.SaveToFile “test.