WebImage Constructor (String)
Initializes a new instance of the WebImage class using a path to represent the image location.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public Sub New ( _
filePath As String _
)
'Usage
Dim filePath As String
Dim instance As New WebImage(filePath)
public WebImage(
string filePath
)
public:
WebImage(
String^ filePath
)
new :
filePath:string -> WebImage
public function WebImage(
filePath : String
)
Parameters
- filePath
Type: System.String
The path of the file that contains the image.