Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / OptimizeFonts Method / OptimizeFonts() Method

In This Topic
    OptimizeFonts() Method
    In This Topic
    Optimizes font usage by merging subsets of same fonts and by removing duplicate and unused fonts.

    This method uses the default values from OptimizeFontsOptions.

    Syntax
    'Declaration
     
    Public Overloads Function OptimizeFonts() As GcPdfDocument.FontsUsageStats
    public GcPdfDocument.FontsUsageStats OptimizeFonts()

    Return Value

    A GcPdfDocument.FontsUsageStats object that contains statistics about fonts usage prior to the optimization.
    See Also