[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CellPicture.-ctor

CellPicture Constructor

CellPicture(byte[])

Initializes a new instance of the CellPicture class with the specified image data. The provided array is copied, so subsequent changes to the input array do not affect this instance.

Declaration
public CellPicture(byte[] imageData)
Public Sub New(imageData As Byte())
Parameters
Type Name Description
byte[] imageData

The image binary data. Supported types: PNG, JPG, GIF, BMP, SVG.

CellPicture(byte[], string)

Initializes a new instance of the CellPicture class with the specified image data and alt text. The provided array is copied, so subsequent changes to the input array do not affect this instance.

Declaration
public CellPicture(byte[] imageData, string altText)
Public Sub New(imageData As Byte(), altText As String)
Parameters
Type Name Description
byte[] imageData

The image binary data. Supported types: PNG, JPG, GIF, BMP, SVG.

string altText

The alt text of the picture.