alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class NativePaint.RGB

    Selects a red, green, blue (RGB) color based on the arguments supplied and the color capabilities of the output device.

    Inheritance
    System.Object
    NativePaint.RGB
    Namespace: Syncfusion.WinForms.Core
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public sealed class RGB : ValueType

    Constructors

    RGB(Color)

    Initializes a new instance of the NativePaint.RGB struct.

    Declaration
    public RGB(Color colorIn)
    Parameters
    Type Name Description
    System.Drawing.Color colorIn

    The color value.

    Methods

    ToInt32()

    Convert the RGB color value to integer value.

    Declaration
    public int ToInt32()
    Returns
    Type Description
    System.Int32

    Returns the converted value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved