ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Web Browser Control - Fit Image to Window (https://www.excelbanter.com/excel-programming/423398-web-browser-control-fit-image-window.html)

Dan Hatola

Web Browser Control - Fit Image to Window
 
I have a web browser control on my spreadsheet. I can display an image from
a url in the browser, but I can't seem to find a way to get image to
automatically size to fit the browser window. This seems like it would be
easy, especially since this is the default behavior when I acutally open an
IE window.

Another option for me would be to somehow take the image from the web
browser and transfer it to an image control which I can manipulate more
easily.

Any help would be greatly appreciated.

NOPIK

Web Browser Control - Fit Image to Window
 
On Feb 4, 6:26*pm, Dan Hatola
wrote:
I have a web browser control on my spreadsheet. *I can display an image from
a url in the browser, but I can't seem to find a way to get image to
automatically size to fit the browser window. *This seems like it would be
easy, especially since this is the default behavior when I acutally open an
IE window.


http://msdn.microsoft.com/en-us/libr...43(VS.85).aspx

Dan Hatola

Web Browser Control - Fit Image to Window
 
Thanks. I actually looked there before I posted, but I didn't see anything
that addressed my specific issue. Maybe I am missing something. In the mean
time I actually have had good success using a simple picture object.

"NOPIK" wrote:

On Feb 4, 6:26 pm, Dan Hatola
wrote:
I have a web browser control on my spreadsheet. I can display an image from
a url in the browser, but I can't seem to find a way to get image to
automatically size to fit the browser window. This seems like it would be
easy, especially since this is the default behavior when I acutally open an
IE window.


http://msdn.microsoft.com/en-us/libr...43(VS.85).aspx



All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com