preferredControlType property

HtmlLoadOptions.preferredControlType property

Gets or sets preferred type of document nodes that will represent imported <input> and <select> elements. Default value is HtmlControlType.FormField.

get preferredControlType(): Aspose.Words.Loading.HtmlControlType

Remarks

Please note that setting this property does not guarantee that all imported controls will be of the specified type. If an HTML control is not representable with document nodes of the preferred type, Aspose.Words will use a compatible HtmlControlType for that control.

See Also