Adds maxHeight option

Hi,

This pull request adds the ability to truncate based on height.

This seems to be useful if you don't want to specify the number of lines and the line height of each line. A sample scenario of this is when the content's container has a specific height and you want to truncate the text inside it based on its height.

Hope you find it useful and please let me know if I need to change something else. :)