Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / ImageBrush Class / ImageBrush Constructor
The image data.
The content type of the image data.


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

    Parameters

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