how i caon make a wordml read-only from .
any ideas??
how i caon make a wordml read-only from .
any ideas??
if you are using the Open XML SDK 2.0 you can specify a file as read-only in the second parameter to the open method call:
// false is the read-only property
using (var wordprocessingDocument = WordprocessingDocument.Open(documentFileName, false))
{
// Do work here
}