Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
Dynamically calculating height if Rich Content Text
posted

HI

I have a section with a header which is rich content (HTML) and can be multi lines

 I would like to calculate the total height of the header text , in order to know where to place an image just below it.

HOw can I find the total height of the section header.

Thanks.

Below is the code for writing the header

  ISectionHeader header = section.AddHeader

IText headerText = header.AddText(0, 10)

headerText.AddRichContent(m_documentTitle);

 

 

 

Parents Reply Children