Wiki Markup |
---|
{description} {excerpt}Sets the fill color for the shape to be the specified custom RGB value, and returns the generated {msdn:System.Drawing.Color|Color}. This method allows a shape to have a color not defined in the worksheet's [Palette|Palette].{excerpt} {signature:C#} public virtual Color SetCustomFillColor(int red, int green, int blue) {signature}{signature:vb.net} Public Overridable Function SetCustomFillColor(ByVal red As Integer, ByVal green As Integer, ByVal blue As Integer) As Color {signature} {parameters} {param:red}The red component of the RGB value.{param} {param:green}The green component of the RGB value.{param} {param:blue}The blue component of the RGB value.{param} {returns}A {{Color}} object representing the fill color.{returns} {exceptions} {exception:System.ArgumentOutOfRangeException}If the given red, green, or blue value is not between 0 and 255.{exception} |
Page History
Overview
Content Tools