HtmlFixedSaveOptionsExportFormFields Property |
Gets or sets indication of whether form fields are exported as interactive
items (as 'input' tag) rather than converted to text or graphics.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic bool ExportFormFields { get; set; }
Public Property ExportFormFields As Boolean
Get
Set
public:
property bool ExportFormFields {
bool get ();
void set (bool value);
}
member ExportFormFields : bool with get, set
Property Value
Type:
Boolean
ExamplesShow how to exporting form fields from a document into HTML file.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertCheckBox("CheckBox", false, 15);
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions
{
ExportFormFields = true
};
doc.Save(ArtifactsDir + "HtmlFixedSaveOptions.ExportFormFields.html", htmlFixedSaveOptions);
See Also