ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearColorBookColor Class / ImGearColorBookColor Constructor
Name of the color.
ID of the color.
ImGearPixel value of the color.
Color space.




In This Topic
    ImGearColorBookColor Constructor
    In This Topic
    Initializes a new instance of the ImGearColorBookColor class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal id As Long, _
       ByVal color As ImGearPixel, _
       ByVal colorType As ImGearColorSpaceIDs _
    )
    'Usage
     
    Dim name As String
    Dim id As Long
    Dim color As ImGearPixel
    Dim colorType As ImGearColorSpaceIDs
     
    Dim instance As New ImGearColorBookColor(name, id, color, colorType)
    public ImGearColorBookColor( 
       string name,
       long id,
       ImGearPixel color,
       ImGearColorSpaceIDs colorType
    )
    public: ImGearColorBookColor( 
       string* name,
       long id,
       ImGearPixel* color,
       ImGearColorSpaceIDs colorType
    )
    public:
    ImGearColorBookColor( 
       String^ name,
       int64 id,
       ImGearPixel^ color,
       ImGearColorSpaceIDs colorType
    )

    Parameters

    name
    Name of the color.
    id
    ID of the color.
    color
    ImGearPixel value of the color.
    colorType
    Color space.
    See Also