Message-ID: <1675243259.8075.1711631360870.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8074_1161430006.1711631360870" ------=_Part_8074_1161430006.1711631360870 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Document.DocumentProtection

Document.DocumentProtection

Description

= =20

Returns a DocumentProtection= object that can be used to get and set the protection settings that Wo= rd will apply to this document. (Only applicable to Word 2000 or above docu= ments.)

=20
C#
=20
 public DocumentProtection DocumentProtection{ get; }
=20
=20
vb.net
=20
Public ReadOnly Property DocumentProtection() As DocumentProtection
=20
=20

Remarks

MS Word equival= ent: Tools menu > Protect document... (plus some additional settings)=20

Examples

=20
C#
=20

          DocumentProtection oDocumentProtection =3D oDocument.DocumentProt=
ection;
        
=20
=20
vb.net
=20

          Dim oDocumentProtection As DocumentProtection =3D oDocument.Docum=
entProtection
        
=20
------=_Part_8074_1161430006.1711631360870--