Share via


Document.PasswordEncryptionAlgorithm Property

Definition

Gets the algorithm Microsoft Office Word uses for encrypting documents with passwords.

public:
 property System::String ^ PasswordEncryptionAlgorithm { System::String ^ get(); };
public string PasswordEncryptionAlgorithm { get; }
member this.PasswordEncryptionAlgorithm : string
Public ReadOnly Property PasswordEncryptionAlgorithm As String

Property Value

The algorithm Microsoft Office Word uses for encrypting documents with passwords.

Remarks

Use the SetPasswordEncryptionOptions method to specify the algorithm that Word uses for encrypting documents with passwords.

Applies to