set font size in xml

salvo lafranca 1 Reputation point
2021-03-30T17:26:35.34+00:00

hello to everyone!
I have the following paragraph of text relating to a word document. docx:

<w:p>
   <w:r>
      <w:t>My custom text 1</w:t>
      <w:br/>
      <w:t>My custom text 2</w:t>
   </w:r>
</w:p>

and I would like to apply a style font-size to the paragraph by editing the xml directly.
thanks from now for the answers

Microsoft 365 and Office | Development | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.