日期:2014-05-18 浏览次数:21292 次
//设置只读
public void SetReadOnly()
{
try
{
this._docApp.Application.ActiveDocument.Protect(
WdProtectionType.wdAllowOnlyComments, ref this._noReset, ref this._password,
ref this._optional, ref this._optional);
}
catch (Exception ex)
{
this.Quit();
throw ex;
}
}