[]
        
(Showing Draft Content)

GrapeCity.Drawing.ImageBrush.-ctor

ImageBrush Constructor

ImageBrush(string)

Initializes a new instance of the ImageBrush class.

Declaration
public ImageBrush(string file)
Public Sub New(file As String)
Parameters
Type Name Description
string file

The full path to image file.

ImageBrush(Stream, string)

Initializes a new instance of the ImageBrush class.

Declaration
public ImageBrush(Stream stream, string contentType = null)
Public Sub New(stream As Stream, Optional contentType As String = Nothing)
Parameters
Type Name Description
Stream stream

The image data.

string contentType

The content type of the image data.