Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Picture Class / Picture Constructor / Picture Constructor(String,Stream,Double,Double,Double,Double)
The picture name.
The image stream 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,Stream,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 imageStream As Stream, _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal width As Double, _
       ByVal height As Double _
    )
    'Usage
     
    Dim name As String
    Dim imageStream As Stream
    Dim x As Double
    Dim y As Double
    Dim width As Double
    Dim height As Double
     
    Dim instance As New Picture(name, imageStream, x, y, width, height)
    public Picture( 
       string name,
       Stream imageStream,
       double x,
       double y,
       double width,
       double height
    )

    Parameters

    name
    The picture name.
    imageStream
    The image stream 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