Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Factory Class / CreateImageDrawing Method / CreateImageDrawing(Int32,Int32,CopyPictureFormat,Boolean,IShape) Method
The image width.
The image height.
The picture format.
true if the image is compatible with the screen; otherwise, false.
The GrapeCity.Spreadsheet.Drawing.IShape that GrapeCity.Drawing.ImageDrawing belong to.


In This Topic
    CreateImageDrawing(Int32,Int32,CopyPictureFormat,Boolean,IShape) Method
    In This Topic
    Gets the image drawing.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function CreateImageDrawing( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal displayFormat As CopyPictureFormat, _
       ByVal compatible As Boolean, _
       ByVal shape As IShape _
    ) As ImageDrawing
    'Usage
     
    
    Dim instance As Factory
    Dim width As Integer
    Dim height As Integer
    Dim displayFormat As CopyPictureFormat
    Dim compatible As Boolean
    Dim shape As IShape
    Dim value As ImageDrawing
     
    value = instance.CreateImageDrawing(width, height, displayFormat, compatible, shape)

    Parameters

    width
    The image width.
    height
    The image height.
    displayFormat
    The picture format.
    compatible
    true if the image is compatible with the screen; otherwise, false.
    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