DocX
DocX copied to clipboard
Get Font and FontSize
Hi! How can i get the Font and FontSize of my paragraph? For example, i have a paragraph with font Arial and size 12, how i can get this in code?
Hi,
You can always check the MagicTexts of the Paragraphs. These are the formatted texts in a paragraph. Paragraphs[0].MagicText[0].formatting.Size Paragraphs[0].MagicText[0].formatting.FontFamily