How to use TabIndent method for a word file using PHP COM -


i using php com export contents database word document. want left indent in word document using tabindent method.

in vba is: selection.paragraphformat.tabindent(2)

https://msdn.microsoft.com/en-us/library/office/ff839143.aspx

i want use same method in php com not working. code below:

$word = new variant(com_get_active_object("word.application")); $word->selection->paragraphformat->tabindent(2); 


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -