First I set the lanquage to dutch:
- Code: Select all
var main = new Document();
main.LoadFromStream(input, FileFormat.Docx);
main.AddStyle(BuiltinStyle.Normal);
Style style = main.Styles.FindByName("Normal");
style.CharacterFormat.LocaleIdASCII = 1043;
Then I convert to PDF:
- Code: Select all
var parameters = new ToPdfParameterList { PdfConformanceLevel = Spire.Pdf.PdfConformanceLevel.Pdf_A1A };
main.SaveToStream(output, parameters);
De PDF gets generated everyting seems ok. When I check its accessibilty checkers.eiii.eu/en/pdfcheck it says:
Natural Language: Document does not have natural language specified