1

wpf webview html page splitter

I am doing a eReader application in wpf.I have to display html content as pages.Using the following style I can split html content into columns in webkitBrowsers.

   "var jsPagenate = "function a() {"
                + "var d = document.getElementsByTagName('html')[0];"
                + "var ourH = window.innerHeight; "
                + "var ourW = window.innerWidth; " + "var fullH = this.clientHeight; "
                + "var pageCount = Math.floor(fullH/ourH)+1;"
                + "var currentPage = 0; " + "var newW = pageCount*ourW; "
                + "d.style.height = ourH+'px';" + "d.style.width = newW+'px';"
                + "d.style.webkitColumnGap = '0px'; " + "d.style.margin = 0; "
                + "d.style.webkitColumnCount = pageCount;}";"

But it is not working in wpf webbrowsers.

How can I implement in IE?

Adel Khayata
  • 2,717
  • 10
  • 28
  • 46
Sachin123
  • 251
  • 5
  • 18

0 Answers0