GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / ICCAddProfileToFile Method
The path of the TIFF, JPEG or PNG image.
The path of the ICM color profil to add to the image.





In This Topic
ICCAddProfileToFile Method (GdPictureImaging)
In This Topic
Adds/replaces an ICC profile of an existing image file. Supported formats are TIFF, JPEG and PNG images.
Syntax
'Declaration
 
Public Function ICCAddProfileToFile( _
   ByVal ImagePath As String, _
   ByVal ProfilePath As String _
) As GdPictureStatus
public GdPictureStatus ICCAddProfileToFile( 
   string ImagePath,
   string ProfilePath
)
public function ICCAddProfileToFile( 
    ImagePath: String;
    ProfilePath: String
): GdPictureStatus; 
public function ICCAddProfileToFile( 
   ImagePath : String,
   ProfilePath : String
) : GdPictureStatus;
public: GdPictureStatus ICCAddProfileToFile( 
   string* ImagePath,
   string* ProfilePath
) 
public:
GdPictureStatus ICCAddProfileToFile( 
   String^ ImagePath,
   String^ ProfilePath
) 

Parameters

ImagePath
The path of the TIFF, JPEG or PNG image.
ProfilePath
The path of the ICM color profil to add to the image.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also