ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearColorProfileManager Class / GetProfile Method
Color space.




In This Topic
    GetProfile Method
    In This Topic
    Returns an instance of a color profile associated with the given color space.
    Syntax
    'Declaration
     
    Public Shared Function GetProfile( _
       ByVal colorSpace As ImGearColorSpaceIDs _
    ) As ImGearColorProfile
    'Usage
     
    Dim colorSpace As ImGearColorSpaceIDs
    Dim value As ImGearColorProfile
     
    value = ImGearColorProfileManager.GetProfile(colorSpace)
    public static ImGearColorProfile GetProfile( 
       ImGearColorSpaceIDs colorSpace
    )
    public: static ImGearColorProfile* GetProfile( 
       ImGearColorSpaceIDs colorSpace
    ) 
    public:
    static ImGearColorProfile^ GetProfile( 
       ImGearColorSpaceIDs colorSpace
    ) 

    Parameters

    colorSpace
    Color space.

    Return Value

    ImGearColorProfile class object.
    Remarks
    Represents an alternative way of obtaining profiles associated with color spaces. In particular, the profile associated with the gray color space could be obtained using GrayProfile property or calling GetProfile method with .Gy parameter.
    See Also