setMarkAsFinal

setMarkAsFinal

BASIC / ADVANCED / PREMIUM

Marks the Word document as final.

Description
public setMarkAsFinal ()

Sets the document as final by blocking the edition capabilities.

This can be easily revoked by the final user through the standard Word interface so it should only be used as an indication that the document is considered "final". If you really want to protect the document you should use the methods available in the Cryptophpdocx and Digital Signature packages.

Return values

Void.

Code samples

Example #1

The resulting Word document looks like: