WebImageViewerOpenUrl Method |
This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")| Name | Description | |
|---|---|---|
| OpenUrl(String) | Opens an image into the WebImageViewer control from a URL or virtual path. | |
| OpenUrl(String, Int32) | Opens an image into the WebImageViewer control from a URL or virtual path. |
This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")This line of code will attempt to map to the server root.
myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("/TestImages/myTestImage.tif")This line of code will attempt to get the image from the server located at the URL.
myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif");myWebImageViewer.OpenUrl("http://www.mydomain.com/TestImages/myTestImage.tif")