473,379 Members | 1,190 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

MSHTML editor -- pages

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.

Thanks,
Dave
Nov 15 '05 #1
0 1133

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark H | last post by:
Hi all, I've been scouring the net today looking for answers but have yet to find one. I hope someone can help me out. Here's my problem, I wrote a C# app that uses MSHTML to parse the DOM of...
1
by: Pablo Ricco | last post by:
Hello, I have the next question: Is possible know if the mshtml editor can undo or redo? I use doc.execCommnad("Undo",false,null); but I need know if I can undo or redo for enable/disable Undo or...
2
by: I am Sam | last post by:
Is MSHTML Editor supported in ASP.NET? I've been trying to activate MSHTML Editing in the browser using jscript but have been unable to successfully activate it. I've been using a tutorial from...
0
by: Joergen Bech | last post by:
Trying to implement my own webforms designer to be hosted in a WinForms environment. Basically: I know that mshtml is used in the VS.Net 2003 WebForms designer, but the HTML behind the scenes is...
4
by: Lars-Erik Aabech | last post by:
Hi! I've been walking in extacy since reading the article about test automation with IE in the latest MSDN mag. (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx) After a...
1
by: ramida | last post by:
Hi folks, You may want to take a look at this new html editor with a customizable table editor. This editor can be customized to mimick the table-editing styles of Macromedia Dreamweaver, MS...
5
by: Jason | last post by:
Hi, I'm developing an HTML Editor Control using VB.Net 2003 for an application that used to use the DHTML Editor Control that is no longer supported. Well, it's been fun but I've hit a wall with...
0
by: Vibhu | last post by:
Hi, I need to scrape aspx pages for data using MSHTML. I am fairly comfortable using MSHTML. I need to know as to how I can submit information to aspx pages and get the results.. Any help...
0
by: Matrix | last post by:
Hi, I am trying use HTML Editor (a wrapper on MSHTML COM component) is there any way I can implement a spell check in this component I want it should support all facilities available with word...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.