VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf Namespace / PdfDocument Class / RemoveAttachments Method
Determines that all embedded files, that are referenced in portfolio, must be removed.



In This Topic
    RemoveAttachments Method
    In This Topic
    Removes the Attachments (Portfolio).
    Syntax
    'Declaration
     
    Public Sub RemoveAttachments( _
       ByVal removeEmbeddedFiles As Boolean _
    ) 
    public void RemoveAttachments( 
       bool removeEmbeddedFiles
    )
    public: void RemoveAttachments( 
       bool removeEmbeddedFiles
    ) 
    public:
    void RemoveAttachments( 
       bool removeEmbeddedFiles
    ) 

    Parameters

    removeEmbeddedFiles
    Determines that all embedded files, that are referenced in portfolio, must be removed.
    Exceptions
    ExceptionDescription
    Thrown if document does not have attachments.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also