menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Struct NativePaint.RGB - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Struct NativePaint.RGB

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

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    Namespace: Syncfusion.WinForms.Core
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public struct RGB

    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 - 2025 Syncfusion Inc. All Rights Reserved