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


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

    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.

    Return Value

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