When using a SchemeColor (e.g. Accent2), how to specify the transparency?
shape.FillFormat.SolidFillColor.SchemeColor
When using a SchemeColor (e.g. Accent2), how to specify the transparency?
shape.FillFormat.SolidFillColor.SchemeColor
@bingxie,
Thank you for posting your question.
To change the transparency of the SchemeColor
, you can apply a corresponding color transform operation as shown below:
shape.FillFormat.SolidFillColor.ColorTransform.Add(ColorTransformOperation.SetAlpha, 0.5f);
Documents: Presentation Theme