We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

HtmlSaveOptions - drop down list


i am using the HtmlSaveOptions class when saving the document to html.

i am setting the proper ExportTextInputFormFieldAsText to true and the text boxes are converted to text.

can i do the same thing for drop down list ?

You can see an example here





Thanks for your request. I have checked the link you provided, and as I can see the value of this Dropdown list is converted to simple text upon converting to HTML. Please see the attached input and output documents.

I use the following code for testing.

// Open source document

Document doc = new Document("in.docx");

// Save output document

doc.Save("out.html", SaveFormat.Html);

Best regards,