Spread WPF 18
GrapeCity.Drawing Namespace / ImageBrush Class / ImageBrush Constructor / ImageBrush Constructor(Stream,String)
The image data.
The content type of the image data.


In This Topic
    ImageBrush Constructor(Stream,String)
    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