Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Factory Class / CreateImageData Method
The width, in pixels, of the new image.
The height, in pixels, of the new image.
Integer that specifies the byte offset between the beginning of one scan line and the next.
Pointer to an array of bytes that contains the pixel data.


In This Topic
    CreateImageData Method
    In This Topic
    Creates the image data.
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateImageData( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal stride As Integer, _
       ByVal scan0 As IntPtr _
    ) As Stream
    'Usage
     
    
    Dim instance As Factory
    Dim width As Integer
    Dim height As Integer
    Dim stride As Integer
    Dim scan0 As IntPtr
    Dim value As Stream
     
    value = instance.CreateImageData(width, height, stride, scan0)
    public virtual Stream CreateImageData( 
       int width,
       int height,
       int stride,
       IntPtr scan0
    )

    Parameters

    width
    The width, in pixels, of the new image.
    height
    The height, in pixels, of the new image.
    stride
    Integer that specifies the byte offset between the beginning of one scan line and the next.
    scan0
    Pointer to an array of bytes that contains the pixel data.

    Return Value

    The binary stream data of the image.
    See Also