VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfFontManager Class / PackFont Methods / PackFont(PdfFont) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PackFont(PdfFont) Method (PdfFontManager)
    In This Topic
    Packs (subsets) the specified PDF font.
    Syntax
    'Declaration
    
    Public Overloads Function PackFont( _
    ByVal font
    The PDF font that should be packed.
    As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont _
    ) As Boolean

    Parameters

    font
    The PDF font that should be packed.

    Return Value

    True - font program was packed successfully;
    false - font program was NOT packed.
    Exceptions
    ExceptionDescription
    Thrown if the font and font manager does not belong to the same PDF document.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also