Page 1 of 1

How to use the run properties : getPosition

PostPosted: Thu Aug 18, 2011 3:51 am
by mawilils
Hi, I try to fetch the position of a run like:

...
RPr = factory.createRPr();
rpr = r.getRPr();
if (rpr.getPosition() != null) { System.out.println("Position : "+ rpr.getPosition().getVal()); }
...

Could someone know why the rpr.getPosition is all the time null ???

Regards mawilils.

Re: How to use the run properties : getPosition

PostPosted: Thu Aug 18, 2011 10:07 am
by jason
See http://msdn.microsoft.com/en-us/library ... ition.aspx for its semantics. It isn't what you think :-)

Re: How to use the run properties : getPosition

PostPosted: Thu Aug 18, 2011 10:06 pm
by mawilils
Thx for your answer ;)