FromRGB(Int32,Int32,Int32) Method

Spread.Services Documentation
FromRGB(Int32,Int32,Int32) Method
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread Namespace > Color Structure > FromRGB Method : FromRGB(Int32,Int32,Int32) Method

The red.
The green.
The blue.
Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
Syntax

- C#

    public static Color FromRGB(
       System.int red,
       System.int green,
       System.int blue
    )

#### Parameters

red
  The red.
green
  The green.
blue
  The blue.

#### Return Value

Color.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

Color Structure
Color Members
Overload List

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback