RgbScheme Function | |
-- todo --
Returns an RGB color pair or an RGB color pair list from a specified color scheme.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax FUNCTION RgbScheme(
nColorSchemeNumber,
nColorPairPosition
) AS STRING CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public static string RgbScheme(
Usual nColorSchemeNumber = default,
Usual nColorPairPosition = default
)
Request Example
View SourceParameters
- nColorSchemeNumber (Optional)
- Type: Usual
Specifies the number of the color scheme for which you want a complete RGB color listing. RGBScheme( ) returns 10 RGB color pairs.
- nColorPairPosition (Optional)
- Type: Usual
Returns a single RGB color pair from a color scheme. nColorPairPosition specifies the position of the RGB color pair in the color scheme.
For example, if nColorPairPosition is 4, the fourth RGB color pair is returned.
Return Value
Type:
String
Character
Remarks
Use SCHEME( ) to return a traditional color pair or a color pair list from a color scheme. RGB color pairs use numeric values to specify colors.
Traditional color pairs use letters to specify colors.
Examples See Also