want to use Shapes::AddLine funtion to put a line in word.

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.

 




Answer this question

want to use Shapes::AddLine funtion to put a line in word.