[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPictureFormat.TransparentBackground

TransparentBackground Property

TransparentBackground

Gets or sets whether the specified picture format uses a transparent background.

Declaration
bool TransparentBackground { get; set; }
Property TransparentBackground As Boolean
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;
pictureFormat.TransparentBackground = true;
bool transparentBackground = pictureFormat.TransparentBackground;