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

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Copy range with conditional formatting -

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