Color Structure
Represents an ARGB (alpha, red, green, blue) color.
public struct Color : ValueType
Public Structure Color
Inherits ValueType
Inheritance: ObjectValueTypeColor
Licensing Info
This struct is a DynamicPDF Rasterizer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Rasterizer selected.
- A DynamicPDF Rasterizer for .NET v4.X Developer license.
Constructors
| Color(Byte, Byte, Byte, Byte) | Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. |
Properties
| A | Gets the alpha component value of this Color structure. |
| B | Gets the blue component value of this Color structure. |
| G | Gets the green component value of this Color structure. |
| R | Gets the red component value of this Color structure. |
Methods
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) |
| FromArgb(Byte, Byte, Byte, Byte) | Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. |
| GetHashCode() | Returns the hash code for this instance. (Inherited from ValueType) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| ToArgb() | Gets the 32-bit ARGB value of this Color structure. |
| ToString() | Returns the fully qualified type name of this instance. (Inherited from ValueType) |