PdfFontEmbeddingMode Enum

Wordize.Saving.PdfFontEmbeddingMode enum. Specifies how Wordize should embed fonts.

PdfFontEmbeddingMode enumeration

Specifies how Wordize should embed fonts.

public enum PdfFontEmbeddingMode

Values

NameValueDescription
EmbedAll0Wordize embeds all fonts.
EmbedNonstandard1Wordize 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.
EmbedNone2Wordize 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