VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.Web.Services Namespace / WebColorBase Class / red Property
Syntax Remarks Requirements SeeAlso
In This Topic
    red Property (WebColorBase)
    In This Topic
    Gets or sets the red component value of this color.
    Syntax
    'Declaration
    
    Public Property red As Integer
    
    
    public int red { get; set; }
    
    
    public: __property int get_red();
    public: __property void set_red(
    int value
    );
    public:
    property int red { int get(); void set(int value); }

    Property Value

    Minimaum value is 0.
    If type == "RGB555" or type == "RGB565" - maximum value is 31;
    if type == "RGB24" or type == "ARGB32" - maximum value is 255;
    if type == "RGB48" or type == "ARGB64" - maximum value is 65535.
    Default value is 0.
    Remarks

    Property avaliable if type == "RGB555" or if type == "RGB565" or if type == "RGB24" or if type == "ARGB32" or if type == "RGB48" or if type == "ARGB64".

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also