Message-ID: <231755662.9075.1711675188026.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9074_36940235.1711675188026" ------=_Part_9074_36940235.1711675188026 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Shape.SetCustomFillColor(Int32, Int32, Int32)

Shape.SetCustomFillColor(Int32, Int32, Int32)

= Description

=20

Sets the fill color for the shape to be the specified custom RGB value, = and returns the generated Color. This method allows a shape to have a color not defined in the works= heet's Palette.

=20
C#
=20
 public virtual Color SetCustomFillColor(int red, int green, int blue)
=20
=20
vb.net
=20
Public Overridable Function SetCustomFillColor(ByVal red As Integer, ByVal =
green As Integer, ByVal blue As Integer) As Color
=20
=20

Parameter= s

=20
red
The red= component of the RGB value.=20
green
The= green component of the RGB value.=20
blue
The b= lue component of the RGB value.=20

Returns

= A=20 Color object representing the fill color.=20

Exception= s

=20
System.ArgumentOutOfRangeException
If the given red, gr= een, or blue value is not between 0 and 255.
------=_Part_9074_36940235.1711675188026--