Free Support Forum - aspose.com

HTML line-height

Hi, I wonder if the attribute line-height is supported when inserting HTML into a Word document. There is a list of attributes that are supported ??

Hi

Thanks for your request. Yes, Aspose.Words supports line-height attribute. This attribute is translated to line spacing of the corresponding paragraph. For example see the following HTML:

<html>

<body>

<p style="line-height: 50pt;">

<span style="font-size: 10pt">text</span>

</p>

</body>

</html>

Best regards,

Thanks! a lot.