Load Markup document with options
GroupDocs.Conversion provides MarkupLoadOptions to give you control over how source Note document will be processed. The following options could be set:
- PageNumbering - enable or disable generation of page numbering in converted document. Default: false
Enable page numbering when converting to Wordprocessing
The following code sample shows how to convert Note document and specify font substitution for missing fonts:
var source = "sample.html";
var loadOptions = new MarkupLoadOptions
{
PageNumbering = true
};
using (var converter = new Converter(source, () => loadOptions))
{
var options = new WordProcessingConvertOptions();
converter.Convert("converted.docx" , options);
}
This functionality is introduced in v20.3