Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Picture Class / Picture Constructor / Picture Constructor(Stream,String)
The image data stream.
The content type of the data stream.


In This Topic
    Picture Constructor(Stream,String)
    In This Topic
    Initializes a new instance of the Picture class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal imageStream As Stream, _
       ByVal contentType As String _
    )
    'Usage
     
    
    Dim imageStream As Stream
    Dim contentType As String
     
    Dim instance As New Picture(imageStream, contentType)
    public Picture( 
       Stream imageStream,
       string contentType
    )

    Parameters

    imageStream
    The image data stream.
    contentType
    The content type of the data stream.
    See Also