cannot explicitly call operator or accessor

May 22, 2013 at 7:31 PM
I´ve "converted" all my code from Interop to NetOffice, except these two lines:
The error is: 'NetOffice.WordApi._Document.AttachedTemplate.set': cannot explicitly call operator or accessor (in both lines)

I´ve tried with:
doc.AttachedTemplate = globalTemplatePath;
doc.Application.Selection.ParagraphFormat.Style = "Normal";
But same error. Any idea how to set these properties?

Jun 11, 2013 at 2:07 PM
the declaration in NetOffice is: public class _ParagraphFormat : COMObject {    public object Style{get;set;} } you have access to the style property. did you use the latest release/source state? Sebastian ________________________________