[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPictureFormat.Fill

Fill Property

Fill

Gets or sets the byte array of the specified picture.

Declaration
byte[] Fill { get; set; }
Property Fill As Byte()
Examples
worksheet.Range["A1:B2"].Value = new object[,] {{"Name", "Value"}, {"Test", 100}};
IShape picture = worksheet.Shapes.AddCameraPicture("=$A$1:$B$2", 20, 20);
IPictureFormat pictureFormat = picture.PictureFormat;
byte[] pictureBytes = pictureFormat.Fill;