ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearColorProfileManager Class / AssignProfile Method
Color space.
Color profile.




In This Topic
    AssignProfile Method
    In This Topic
    Associates a given instance of a color profile with the specified color space.
    Syntax
    'Declaration
     
    Public Shared Sub AssignProfile( _
       ByVal colorSpace As ImGearColorSpaceIDs, _
       ByVal colorProfile As ImGearColorProfile _
    ) 
    'Usage
     
    Dim colorSpace As ImGearColorSpaceIDs
    Dim colorProfile As ImGearColorProfile
     
    ImGearColorProfileManager.AssignProfile(colorSpace, colorProfile)
    public static void AssignProfile( 
       ImGearColorSpaceIDs colorSpace,
       ImGearColorProfile colorProfile
    )
    public: static void AssignProfile( 
       ImGearColorSpaceIDs colorSpace,
       ImGearColorProfile* colorProfile
    ) 
    public:
    static void AssignProfile( 
       ImGearColorSpaceIDs colorSpace,
       ImGearColorProfile^ colorProfile
    ) 

    Parameters

    colorSpace
    Color space.
    colorProfile
    Color profile.
    Remarks
    Represents an alternative way of assigning global profiles with color spaces. In particular, to assign a global profile with a gray color space, either GrayProfile property or AssignProfile(ImGearColorSpaceIDs.Gy)call could be used.
    See Also