Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
Hello,
I'm trying to create a paragraph with an inline textbox by using the 'addTextBox' method as the following:
┌─────┐
│ │ is a textbox which provides a space for users to print it out and fill by hand.
└─────┘
By the documentation, there is a parameter called 'textWrap' with available attributes 'tight', 'square', 'through' and 'none'. I can set a textbox as inline in MS Word but I can't find the 'inline' option in phpdocx. Is there any way to achieve this?
Best regards,
Henry
Hello,
What version and license of phpdocx are you using?
Regards.
Hello,
I am using the trial version with version number 4.6.
Best regards.
Hello,
We recommend you to use form elements to create an input field.
Please check this method:
http://www.phpdocx.com/api-documentation/word-content/insert-form-element-Word-document-with-PHP
Regards,
Jorge
Hello,
That is exactly what I want. Thanks for your help.
Best regards.