Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Document Class / RemovePasswordProtection Method
The password for this Document.


In This Topic
    RemovePasswordProtection Method
    In This Topic
    Removes the password protection on a Document.
    Syntax
    'Declaration
     
    Public Sub RemovePasswordProtection( _
       ByVal password As String _
    ) 
    'Usage
     
    Dim instance As Document
    Dim password As String
     
    instance.RemovePasswordProtection(password)
    public void RemovePasswordProtection( 
       string password
    )

    Parameters

    password
    The password for this Document.
    Remarks
    If an incorrect password is provided, an exception is thrown.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also