Initializes a new instance of the
Picture class.
Syntax
'Declaration
Public Function New( _
ByVal As System.String, _
ByVal As System.Windows.Media.ImageSource, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double _
)
'Usage
Dim name As System.String
Dim source As System.Windows.Media.ImageSource
Dim x As System.Double
Dim y As System.Double
Dim width As System.Double
Dim height As System.Double
Dim instance As New Picture(name, source, x, y, width, height)
public Picture(
System.string ,
System.Windows.Media.ImageSource ,
System.double ,
System.double ,
System.double ,
System.double
)
Parameters
- name
- The picture name.
- source
- The image source of the picture.
- x
- The x location of the picture.
- y
- The y location of the picture.
- width
- The picture width.
- height
- The picture height.
See Also