VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Primitives Namespace / VintasoftColor Structure / FromRgb(Byte,Byte,Byte) Method
Syntax Requirements SeeAlso
In This Topic
    FromRgb(Byte,Byte,Byte) Method (VintasoftColor)
    In This Topic
    Creates a VintasoftColor from its component (red, green, and blue) values.
    Syntax
    'Declaration
    
    Public Shared Function FromRgb( _
    ByVal red
    The red component.
    As Byte, _
    ByVal green
    The green component.
    As Byte, _
    ByVal blue
    The blue component.
    As Byte _
    ) As VintasoftColor
    public static VintasoftColor FromRgb(
    byte red,
    byte green,
    byte blue
    )
    public: static VintasoftColor FromRgb(
    byte red,
    byte green,
    byte blue
    )
    public:
    static VintasoftColor FromRgb(
    byte red,
    byte green,
    byte blue
    )

    Parameters

    red
    The red component.
    green
    The green component.
    blue
    The blue component.

    Return Value

    A color with specified components.
    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also