1

I've got some problem with the DocPartObjectSdt(). The VS say "The type or namespace name 'DocPartObjectSdt' could not be found..." and I didn't found relevant solution in the google...

I copied the code from here: Open XML - How to add a watermark to a docx document And I copied the usings too, but I've got this problem.

Someone said I have to open new Question about this problem, thats why I did that :)

Please help!

Community
  • 1
  • 1
Gabor85
  • 11
  • 2

1 Answers1

0

Based on the context in which it is used in the example code, what you're looking for is SdtContentDocPartObject. Look at "MSDN: SdtContentDocPartObject Class" and see if that is what you need.

emd
  • 1,173
  • 9
  • 21