V
VKY
I wanted to copy a master from the document stencil to another stencil
and can achieve this easily enough by opening the document stencil,
selecting the master and using copy and paste.
However, I am unable to find the proper way that the above can be done
using code or programmatically. I am able to choose the master I want in
the document stencil using:
ActiveDocument.Masters(MyMasterID)
However, the Master object that is returned does not have a copy method.
When I tried:
ActiveDocument.Masters(MyMasterID).Shapes(1).Copy
the resulting shape when saved onto another stencil is not the exact
copy and does not inherit the names and other properties.
Any pointers would be greatly appreciated.
Thanks.
and can achieve this easily enough by opening the document stencil,
selecting the master and using copy and paste.
However, I am unable to find the proper way that the above can be done
using code or programmatically. I am able to choose the master I want in
the document stencil using:
ActiveDocument.Masters(MyMasterID)
However, the Master object that is returned does not have a copy method.
When I tried:
ActiveDocument.Masters(MyMasterID).Shapes(1).Copy
the resulting shape when saved onto another stencil is not the exact
copy and does not inherit the names and other properties.
Any pointers would be greatly appreciated.
Thanks.