PdfFontEmbeddingMode Enum
Wordize.Saving.PdfFontEmbeddingMode enum. Specifies how Wordize should embed fonts.
PdfFontEmbeddingMode enumeration
Specifies how Wordize should embed fonts.
public enum PdfFontEmbeddingMode
Values
Name | Value | Description |
---|---|---|
EmbedAll | 0 | Wordize embeds all fonts. |
EmbedNonstandard | 1 | Wordize embeds all fonts excepting standard Windows fonts Arial and Times New Roman. Only Arial and Times New Roman fonts are affected in this mode because MS Word doesn’t embed only these fonts when saving document to PDF. |
EmbedNone | 2 | Wordize do not embed any fonts. |
Examples
Shows how to configure font embedding mode in PDF.
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.FontEmbeddingMode = PdfFontEmbeddingMode.EmbedNonstandard;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "PdfSaveOptions.FontEmbeddingMode.pdf", pdfSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize