Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Factory Class / CreateImageDrawing Method / CreateImageDrawing(String,IShape) Method
The path of the image file.
The GrapeCity.Spreadsheet.Drawing.IShape that GrapeCity.Drawing.ImageDrawing belong to.


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

    Parameters

    file
    The path of the image file.
    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