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

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

private DisableEmbeddingCoreFonts ( ) : void
Результат void
        public void DisableEmbeddingCoreFonts()
        {
            //ExStart
            //ExFor:PdfSaveOptions.UseCoreFonts
            //ExId:DisableUseOfCoreFonts
            //ExSummary:Shows how to set Aspose.Words to avoid embedding core fonts and let the reader subsuite PDF Type 1 fonts instead.
            // Load the document to render.
            Document doc = new Document(MyDir + "Rendering.doc");

            // To disable embedding of core fonts and subsuite PDF type 1 fonts set UseCoreFonts to true.
            PdfSaveOptions options = new PdfSaveOptions();
            options.UseCoreFonts = true;

            // The output PDF will not be embedded with core fonts such as Arial, Times New Roman etc.
            doc.Save(MyDir + @"\Artifacts\Rendering.DisableEmbedWindowsFonts.pdf");
            //ExEnd
        }