I would like if it's possible to know the style of a placehoder in a document. Or the style of any element in a document.
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it nowI would like if it's possible to know the style of a placehoder in a document. Or the style of any element in a document.
Hello,
Using getWordStyles (https://www.phpdocx.com/api-documentation/docx-path/get-styles-word-contents-in-docx) you can return the styles applied to specific contents. Please note that Word applies cascade styles (default styles, custom styles, inline styles)
On https://www.phpdocx.com/documentation/snippets/get-font-size-content you can read a sample that returns the font size of a content.
Regards.