Click or drag to resize
DocumentModelWriteProtection Property
Gets or sets the document write protection options. Supported only in DOCX and DOC formats.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version:
public WriteProtection WriteProtection { get; set; }

Property Value

Type: WriteProtection
The document write protection options.

Write protection refers to a mode in which the document's contents can be edited but the document cannot be resaved using the same file name.

WriteProtection is currently not supported when exporting a document to PDF, XPS or image file formats.

For more information, see DOCX Write Protection sample.

See Also