VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfDocument Class / RemoveAttachments(Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    RemoveAttachments(Boolean) Method (PdfDocument)
    In This Topic
    Removes the Attachments (Portfolio).
    Syntax
    'Declaration
    
    Public Sub RemoveAttachments( _
    ByVal removeEmbeddedFiles
    A value indicating whether all embedded files, that are referenced in portfolio, must be removed.
    As Boolean _
    )
    public void RemoveAttachments(
    bool removeEmbeddedFiles
    )
    public: void RemoveAttachments(
    bool removeEmbeddedFiles
    )
    public:
    void RemoveAttachments(
    bool removeEmbeddedFiles
    )

    Parameters

    removeEmbeddedFiles
    A value indicating whether all embedded files, that are referenced in portfolio, must be removed.
    Exceptions
    ExceptionDescription
    Thrown if document does not have attachments.
    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