Protect
WordProcessingContent.Protect method
Belgeyi değişikliklerden korur ve bir koruma parolası ayarlar.
public void Protect(WordProcessingProtectionType protectionType, string password)
| Parametre | Tip | Tanım |
|---|---|---|
| protectionType | WordProcessingProtectionType | Belge için koruma türünü belirtir. |
| password | String | Belgeyi korumak için parola. |
Notlar
Düzenlenebilir belge içeriğine sahip olmak için, ile filigran eklemek için uygun yöntemi kullanınAllowOnlyFormFields or ReadOnlyWithEditableContent parametre.
Ayrıca bakınız
- enum WordProcessingProtectionType
- class WordProcessingContent
- ad alanı GroupDocs.Watermark.Contents.WordProcessing
- toplantı GroupDocs.Watermark