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 line 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 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}{signature:vb.net
vb.net
}
Public Overridable Function SetCustomLineColor(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 line 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 line color.{returns}
{exceptions}
{exception:System.ArgumentOutOfRangeException}If the given red, green, or blue value is not between 0 and 255.{exception}