Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

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

...

Signature
C#C#
|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}{signature:vb.net
vb.net
}
Public Overridable Function SetCustomFillColor(ByVal red As Integer, ByVal green As Integer, ByVal blue As Integer) As Color
Parameters

...

The red component of the RGB value.

...

The green component of the RGB value.

...

The blue component of the RGB value.

Returns

A Color object representing the fill color.

Exceptions
Exception
System.ArgumentOutOfRangeExceptionSystem.ArgumentOutOfRangeExceptionIf the given red, green, or blue value is not between 0 and 255.
{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}