By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

MSHTML editor -- pages

P: n/a
Is there a way to find the pixel hight of the HtmlDocument that is
currently being edited by a MSHTML control (preferably in C#)?

I have created a report building application that uses MSHTML as it's
main editing window. I am writing the functionality of headers,
footers, and page numbering into the app, but I am finding it
difficult to determine the height of the pages in pixels. I need to
know the height to properly determine where a page ends and the new
page begins.

The print preview of the MSHTML control does paging automatically. Is
there a way to somehow tap into that for my pages?

I am very much open to anyone's ideas.

Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.