The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I would like to clone an MS Word document with a new name AND password protect it. I need the user to be prompted for the password when they attempt to open it.
The following code works (without password protection).
------------------------ Dim sourceDoc As WordDocument = New WordDocument() sourceDoc.Open(sSourceFile, FormatType.Doc)
Dim doc As WordDocument = New WordDocument() doc.EnsureMinimal()
ADAdministrator Syncfusion Team March 7, 2008 06:55 AM UTC
Hi Howard,
Thank you for your interest in Syncfusion products.
protect the word document by providing password.
The "Password" property of the class "WordDocument" is not a protection password - it is the password to open the document. We can able to set only protection type of the document. The protection password is not supported by DocIO. We have already created feature request regarding this and We do not have immediate plan for implementing this feature in the near future.