Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / OptimizeFonts Method / OptimizeFonts(OptimizeFontsOptions) Method
An OptimizeFontsOptions object that specifies optimization options.

In This Topic
    OptimizeFonts(OptimizeFontsOptions) Method
    In This Topic
    Optimizes font usage by merging subsets of same fonts, and by removing duplicate and unused fonts.
    Syntax
    'Declaration
     
    Public Overloads Function OptimizeFonts( _
       ByVal options As OptimizeFontsOptions _
    ) As GcPdfDocument.FontsUsageStats

    Parameters

    options
    An OptimizeFontsOptions object that specifies optimization options.

    Return Value

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