ColorData Class
Represents an RGB color value used for redaction fill or other color-based operations.
Inheritance
System.Object
ColorData
Namespace: Syncfusion.AI.AgentTools.PDF
Assembly: Syncfusion.DocumentSDK.AI.AgentTools.dll
Syntax
public class ColorData : Object
Constructors
ColorData()
Declaration
public ColorData()
Properties
Blue
Gets or sets the blue component value (0-255).
Declaration
public int Blue { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Green
Gets or sets the green component value (0-255).
Declaration
public int Green { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Red
Gets or sets the red component value (0-255).
Declaration
public int Red { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Methods
ToColor()
Converts this ColorData to a System.Drawing.Color structure.
Declaration
public Color ToColor()
Returns
| Type | Description |
|---|---|
| Syncfusion.Drawing.Color | A Color with the specified RGB values. |