Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Factory Class / CreateImageDrawing Method / CreateImageDrawing(Stream,String,IShape) Method
The binary stream data of the image.
The content type of the image binary data.
The GrapeCity.Spreadsheet.Drawing.IShape that GrapeCity.Drawing.ImageDrawing belong to.


In This Topic
    CreateImageDrawing(Stream,String,IShape) Method
    In This Topic
    Gets the image drawing.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function CreateImageDrawing( _
       ByVal data As Stream, _
       ByVal contentType As String, _
       ByVal shape As IShape _
    ) As ImageDrawing
    'Usage
     
    
    Dim instance As Factory
    Dim data As Stream
    Dim contentType As String
    Dim shape As IShape
    Dim value As ImageDrawing
     
    value = instance.CreateImageDrawing(data, contentType, shape)
    public virtual ImageDrawing CreateImageDrawing( 
       Stream data,
       string contentType,
       IShape shape
    )

    Parameters

    data
    The binary stream data of the image.
    contentType
    The content type of the image binary data.
    shape
    The GrapeCity.Spreadsheet.Drawing.IShape that GrapeCity.Drawing.ImageDrawing belong to.

    Return Value

    The GrapeCity.Drawing.ImageDrawing object which can be used to draw an image.
    See Also