views:

257

answers:

1

How can we set WebBrowser.DocumentType ?

A: 

Hi.

The DocumentType property only reflects the documenttype of the current document.

You'll have to modify the content of the web browser through the Document or DocumentText property.

Having checked it, the property actually only contains a rather uninteresting text description like "Text Document" or "JPEG Image". Possibly not what you're after anyway.

Tor Haugen