VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfDocument Class / Pack Methods / Pack() Method
Syntax Remarks Example Requirements SeeAlso
In This Topic
    Pack() Method (PdfDocument)
    In This Topic
    Packs the PDF document.
    Syntax
    'Declaration
    
    Public Overloads Sub Pack()
    
    
    public void Pack()
    
    
    public: void Pack()
    
    
    public:
    void Pack()
    Remarks

    This methods copies content of this PDF document to temporary PDF document, removes unused objects from temporary PDF document and copies content of temporary PDF document back to this PDF document. Temporary PDF document is removed.

    Example
    Requirements

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

    See Also