GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / ICCSetRGBProfile Method
GdPicture image identifier.
The path of the ICC profile file to apply.





In This Topic
ICCSetRGBProfile Method (GdPictureImaging)
In This Topic
Applies a specific RGB color profile to a GdPicture image without embedding the color profile information. Therefore, only image pixels will be modified according to the profile information. If you need to embed an ICC profile to an image file the ICCAddFromFile() method must be used.
Syntax
'Declaration
 
Public Function ICCSetRGBProfile( _
   ByVal ImageID As Integer, _
   ByVal ProfilePath As String _
) As GdPictureStatus
public GdPictureStatus ICCSetRGBProfile( 
   int ImageID,
   string ProfilePath
)
public function ICCSetRGBProfile( 
    ImageID: Integer;
    ProfilePath: String
): GdPictureStatus; 
public function ICCSetRGBProfile( 
   ImageID : int,
   ProfilePath : String
) : GdPictureStatus;
public: GdPictureStatus ICCSetRGBProfile( 
   int ImageID,
   string* ProfilePath
) 
public:
GdPictureStatus ICCSetRGBProfile( 
   int ImageID,
   String^ ProfilePath
) 

Parameters

ImageID
GdPicture image identifier.
ProfilePath
The path of the ICC profile file to apply.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also