Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Picture Class / Picture Constructor / Picture Constructor(String,ImageSource,Double,Double,Double,Double)
The picture name.
The image source of the picture.
The x location of the picture.
The y location of the picture.
The picture width.
The picture height.


In This Topic
    Picture Constructor(String,ImageSource,Double,Double,Double,Double)
    In This Topic
    Initializes a new instance of the Picture class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal source As ImageSource, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    )
    'Usage
     
    Dim name As String
    Dim source As ImageSource
    Dim x As Double
    Dim y As Double
    Dim width As Double
    Dim height As Double
     
    Dim instance As New Picture(name, source, x, y, width, height)
    public Picture( 
       string name,
       ImageSource source,
       double x,
       double y,
       double width,
       double height
    )

    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