Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadImageRender Class / SaveImageToBytes Method


In This Topic
    SaveImageToBytes Method
    In This Topic
    Save the image to byte array.
    Syntax
    'Declaration
     
    
    Protected Function SaveImageToBytes( _
       ByVal image As SpreadImage, _
       ByRef imageFormat As ImageFormat _
    ) As Byte()
    'Usage
     
    
    Dim instance As SpreadImageRender
    Dim image As SpreadImage
    Dim imageFormat As ImageFormat
    Dim value() As Byte
     
    value = instance.SaveImageToBytes(image, imageFormat)
    protected byte[] SaveImageToBytes( 
       SpreadImage image,
       ref ImageFormat imageFormat
    )

    Parameters

    image
    imageFormat
    See Also