[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.Transparency

Transparency Property

Transparency

Gets or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) to 1.0 (fully transparent).

Declaration
double Transparency { get; set; }
Property Transparency As Double
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.Solid();
fillFormat.Transparency = 0.25;
double transparency = fillFormat.Transparency;