ApiExamples.ExRendering.EmbedFullFontsInPdf C# (CSharp) Метод

EmbedFullFontsInPdf() приватный Метод

private EmbedFullFontsInPdf ( ) : void
Результат void
        public void EmbedFullFontsInPdf()
        {
            //ExStart
            //ExFor:PdfSaveOptions.#ctor
            //ExFor:PdfSaveOptions.EmbedFullFonts
            //ExId:EmbedFullFonts
            //ExSummary:Demonstrates how to set Aspose.Words to embed full fonts in the output PDF document.
            // Load the document to render.
            Document doc = new Document(MyDir + "Rendering.doc");

            // Aspose.Words embeds full fonts by default when EmbedFullFonts is set to true. The property below can be changed
            // each time a document is rendered.
            PdfSaveOptions options = new PdfSaveOptions();
            options.EmbedFullFonts = true;

            // The output PDF will be embedded with all fonts found in the document.
            doc.Save(MyDir + @"\Artifacts\Rendering.EmbedFullFonts.pdf");
            //ExEnd
        }