FromRGB Method

Spread.Services Documentation
FromRGB 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

Creates a Color structure from a 24-bit RGB value.
Overload List

Overload | Description
--- | ---
FromRGB(Int32) | Creates a Color structure from a 24-bit RGB value.
FromRGB(Int32,Int32,Int32) | 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.

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

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback