//// This code is part of Document Solutions for Word demos.// Copyright (c) MESCIUS inc. All rights reserved.//usingSystem.IO;usingGrapeCity.Documents.Word;usingGrapeCity.Documents.Word.Layout; namespaceDsWordWeb.Demos{// This sample shows how to export a DOCX document to PDF/UA format with structure tags.publicclassSaveAsPdfUA {publicGcWordDocumentCreateDocx() {GcWordDocument doc = new(); doc.Load(Path.Combine("Resources", "WordDocs", "JsFrameworkExcerpt.docx"));return doc; } publicstaticPdfOutputSettingsGetPdfOutputSettings() {var settings = newPdfOutputSettings() {ExportStructureTags = true,MarkAsPdfUa = true,MissingDocumentTitle = "<document title placeholder>",MissingShapeAlternativeText = "<alternative text placeholder>",MissingHyperlinkScreenTip = "<hyperlink screen tip placeholder>" };return settings; } }}