I want to use word in my Visual c++ program.
I want to use Shapes::AddLine(float BeginX, float BeginY, float EndX, float EndY, VARIANT* Anchor) funtion to put a line in word. I do not know how to set the last parameter of this function,that is VARIANT* Anchor.
Please tell me and I thank you very much.

want to use Shapes::AddLine funtion to put a line in word.
NorbertHH
http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US
Thanks!
Janet Robinson
Program Manager
VSTO Team