The 0-based index of the image within the current page. It must be a value from 0 to GetPageImageCount-1.
Output parameter. An array of bytes containing the ICC profile data.





In This Topic
GdPicture14 Namespace / GdPicturePDF Class / GetPageImageICCProfile Method

GetPageImageICCProfile Method (GdPicturePDF)

In This Topic
Returns the ICC profile of an image, specified by its index within the currently selected page of the loaded PDF document.
Syntax
'Declaration
 
Public Function GetPageImageICCProfile( _
   ByVal ImageIdx As Integer, _
   ByRef Data() As Byte _
) As GdPictureStatus
public GdPictureStatus GetPageImageICCProfile( 
   int ImageIdx,
   ref byte[] Data
)
public function GetPageImageICCProfile( 
    ImageIdx: Integer;
   var  Data: Bytearray of
): GdPictureStatus; 
public function GetPageImageICCProfile( 
   ImageIdx : int,
   Data : byte[]
) : GdPictureStatus;
public: GdPictureStatus GetPageImageICCProfile( 
   int ImageIdx,
   ref byte[]* Data
) 
public:
GdPictureStatus GetPageImageICCProfile( 
   int ImageIdx,
   array<byte>^% Data
) 

Parameters

ImageIdx
The 0-based index of the image within the current page. It must be a value from 0 to GetPageImageCount-1.
Data
Output parameter. An array of bytes containing the ICC profile data.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
This method is only allowed for use with non-encrypted documents.
See Also