[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IPictureFormat.Transparency

Transparency Property

Transparency

Gets or sets the degree of transparency of the specified picture.

The returned value ranges from 0.0 for a fully opaque picture to 1.0 for a fully clear picture.

Declaration
double Transparency { get; set; }
Property Transparency As Double
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.Transparency = 0.25;
double transparency = pictureFormat.Transparency;