←Select platform

ImageHasIccProfile(String,Int32) Method

Summary

Determines whether a file has an embedded ICC profile.

Syntax

C#
VB
C++
public static bool ImageHasIccProfile(  
   string fileName, 
   int pageNumber 
) 
Public Overloads Shared Function ImageHasIccProfile( _ 
   ByVal fileName As String, _ 
   ByVal pageNumber As Integer _ 
) As Boolean 
public: 
static bool ImageHasIccProfile(  
   String^ fileName, 
   int pageNumber 
) 

Parameters

fileName
Character string containing the name of the file that contains the embedded ICC profile.

pageNumber
1-based index of the page within the file that contains the ICC profile.

Return Value

true if this file has an ICC Profile; false, otherwise.

Remarks
  • JPEG, TIFF, PSD and EPS files can have ICC profiles. To check a specific page in a multipage file, use the pageNumber parameter.

true if this file has an ICC Profile; false, otherwise.

Example

For an example, refer to IccProfileExtended.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.ColorConversion Assembly
Click or drag to resize