FormEditor Properties

The FormEditor type exposes the following members.

Public propertyAttachmentName
Gets or sets name of attachment when result of operation is stored into HttpResponse objects as attachment.
Public propertyContentDisposition
Gets or sets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
Public propertyConvertTo
Sets PDF file format. Result file will be saved in specified file format. If this property is not specified then file will be save in default PDF format without conversion.
Public propertyCode exampleDestFileName Obsolete.
Gets or sets destination file name.
Public propertyCode exampleDestStream Obsolete.
Gets or sets destination stream.
Public propertyDocument
Gets the document facade is working on.
(Inherited from Facade.)
Public propertyCode exampleExportItems
Sets options for combo box with export values.
Public propertyCode exampleFacade
Sets visual attributes of the field.
Public propertyCode exampleItems
Sets items which will be added t onewly created list box or combo box.
formEditor = new Aspose.Pdf.Facades.FormEditor("input.pdf", "output.pdf");
formEditor.Items = new string[] { "AAA", "BBB", "CCC" };
formEditor.AddField(FieldType.ListBox, "AddedListBoxField", "BBB", 1, 10, 30, 110, 130);
Public propertyRadioButtonItemSize
Gets or sets size of radio button item size (when new radio button field is added).
formEditor = new Aspose.Pdf.Facades.FormEditor("PdfForm.pdf", "FormEditor_AddField_RadioButton.pdf");
formEditor.RadioGap = 4;
formEditor.RadioHoriz = false;
formEditor.RadioButtonItemSize = 20;
formEditor.Items = new string[] { "First", "Second", "Third" };
formEditor.AddField(FieldType.Radio, "AddedRadioButtonField", "Second", 1, 10, 30, 110, 130);
Public propertyCode exampleRadioGap
The member to record the gap between two neighboring radio buttons in pixels,default is 50.
Public propertyCode exampleRadioHoriz
The flag to indicate whether the radios are arranged horizontally or vertically, default value is true.
Public propertyResponse
Gets or sets Response object where result of operation will be stored.
Public propertySaveOptions
Gets or sets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
Public propertyCode exampleSrcFileName Obsolete.
Gets or sets name of source file.
Public propertyCode exampleSrcStream Obsolete.
Gets or sets source stream.
Public propertySubmitFlag
Set the submit button's submission flags
See Also