|
Tutorial - Edit FormField Attributes |
Top Previous Next |
|
This tutorial guides you to edit all the form field attributes. Follow these links to explore each one of them.
[VB] Dim FormField As gtFormFieldX PDFDoc.LoadFromFile(Input) Set FormField = PDFDoc.GetFormFieldByIndex(1) FormField.FieldName = "NewName" FormField.FieldValue = "NewValue" FormField.ReadOnly = True PDFDoc.SaveToFile(Output)
[VC++]
gtFormFieldX FormField; PDFDoc.LoadFromFile(Input); FormField = PDFDoc.GetFormFieldByIndex(1); FormField.FieldName = "NewName"; FormField.FieldValue = "NewValue"; FormField.ReadOnly = True; PDFDoc.SaveToFile(Output);
[CS]
CgtFormFieldX FormField; PDFDoc.LoadFromFile(Input); FormField = PDFDoc.GetFormFieldByIndex(1); FormField.SetFieldName ("NewName"); FormField.SetFieldValue("NewValue"); FormField.SetReadOnly(True); PDFDoc.SaveToFile(Output);
|