[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IBackgroundPicture.Transparency

Transparency Property

Transparency

Gets or sets the degree of transparency of the specified picture as a value from 0.0 (opaque) through 1.0 (clear).

Declaration
double Transparency { get; set; }
Property Transparency As Double
Examples
IBackgroundPictures backgroundPictures = worksheet.BackgroundPictures;
IBackgroundPicture picture = null;
using (MemoryStream stream = CreateSampleImageStream())
{
    picture = backgroundPictures.AddPicture(stream, ImageType.PNG, 12, 18, 120, 80);
}
picture.Transparency = 0.25;
double transparency = picture.Transparency;