PdfSaveOptions.ExportParagraphGraphicsToArtifact
PdfSaveOptions ExportParagraphGraphicsToArtifact property. Gets or sets a value determining whether a paragraph graphic should be marked as an artifact.
PdfSaveOptions.ExportParagraphGraphicsToArtifact property
Gets or sets a value determining whether a paragraph graphic should be marked as an artifact.
public bool ExportParagraphGraphicsToArtifact { get; set; }
Remarks
Default value is false
and paragraph graphics (underlines, text emphasis, etc.) will be marked as “Span” in the logical structure of the document.
When the value is true
the paragraph graphics will be marked as “Artifact”.
This value is ignored when ExportDocumentStructure
is false
.
Examples
Shows how to configure exporting document structure to PDF.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.ExportDocumentStructure = true;
pdfSaveOptions.ExportLanguageToSpanTag = true;
pdfSaveOptions.ExportParagraphGraphicsToArtifact = true;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "PdfSaveOptions.ExportDocumentStructure.pdf", pdfSaveOptions)
.Execute();
See Also
- class PdfSaveOptions
- namespace Wordize.Saving
- assembly Wordize