ImageGear .NET v25.0 - Updated
AssignProfile Method




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearColorProfileManager Class : AssignProfile Method
Color space.
Color profile.
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

Reference

ImGearColorProfileManager Class
ImGearColorProfileManager Members
ImGearColorProfile Class
ImGearColorSpaceIDs Enumeration