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

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

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