PDF and HTMLViewer?

Hi,
I have a very simple question, which I am not able to test at the moment.

Is it possible to load a pdf file into an HTMLViewer, using LoadURL?

Thanks.

In OSX - Yes

dim f as FolderItem = SpecialFolder.Desktop.Child(“myPDF.pdf”)
browser.LoadPage f
or
browser.LoadURL f.URLPath

Depends on platform

On OS X yes - thats part of how the OS X version of WebKit works

On Windows or Linux I don’t believe they do this by default

Thanks guys.

What does browser refer to? (and please don’t say “The Browser”) :slight_smile:
I can’t seem to find it in the Language Reference. Or am I supposed to replace that with the name of my HTMLViewer?

Thanks.

Yes, I always name the HTMLViewer ‘browser’

:slight_smile: Cool - thanks.