Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets the line 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 line color not defined in the worksheet's [Palette|Palette].{excerpt}
{signature:C#}
 public virtual Color SetCustomLineColor(int red, int green, int blue)
{signature}{signature:vb.net}
Public Overridable Function SetCustomLineColor(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 line color.{returns}
{exceptions}
{exception:System.ArgumentOutOfRangeException}If the given red, green, or blue value is not between 0 and 255.{exception}