Hi Team,
I want to integrate document editing feature in my ASP.NET MVC Web Application which prevents editing of the some selected portion for the provided doc. Please let me know how this can be done using Spire tools.
Thanks,
Ajay
//Specify the range which could be edited, the rest is protected
section.Paragraphs[0].ChildObjects.Insert(0, new PermissionStart(document, "myP"));
section.Paragraphs[1].ChildObjects.Add(new PermissionEnd(document, "myP"));
document.Protect(ProtectionType.AllowOnlyReading, "111");