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

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

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

            // To subset fonts in the output PDF document, simply create new PdfSaveOptions and set EmbedFullFonts to false.
            PdfSaveOptions options = new PdfSaveOptions();
            options.EmbedFullFonts = false;

            // The output PDF will contain subsets of the fonts in the document. Only the glyphs used
            // in the document are included in the PDF fonts.
            doc.Save(MyDir + @"\Artifacts\Rendering.SubsetFonts.pdf");
            //ExEnd
        }