[]
        
(Showing Draft Content)

C1.Excel.XLImage.FromImage

FromImage Method

FromImage(Image)

Convert a image to the image in memory.

Declaration
[CLSCompliant(false)]
public static XLImage FromImage(Image image)
<CLSCompliant(False)>
Public Shared Function FromImage(image As Image) As XLImage
Parameters
Type Name Description
Image image

The image object.

Returns
Type Description
XLImage

The graphics image in memory.

FromImage(IImage)

Convert a image interface to the image in memory.

Declaration
[CLSCompliant(false)]
public static XLImage FromImage(IImage img)
<CLSCompliant(False)>
Public Shared Function FromImage(img As IImage) As XLImage
Parameters
Type Name Description
IImage img

The image interface.

Returns
Type Description
XLImage

The graphics image in memory.