Xceed Words for .NET v3.0 Documentation
RemovePasswordProtection Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Document Class : RemovePasswordProtection Method
The password for this Document.
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

Reference

Document Class
Document Members