[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Graphics.ColorSpaces.ICCProfile.Create

Create Method

Create(Stream)

Creates an ICCProfile object for the specified ICC profile metadata.

This method returns null if metadata has invalid data or is in unknown format.

Declaration
public static ICCProfile Create(Stream metadata)
Public Shared Function Create(metadata As Stream) As ICCProfile
Parameters
Type Name Description
Stream metadata

The ICC profile metadata.

Returns
Type Description
ICCProfile

The ICCProfile object or null if metadata contains invalid or unsupported data.

Create(string)

Creates an ICCProfile object for ICC profile metadata loaded from the specified file.

This method returns null if fileName has invalid data or is in unknown format.

Declaration
public static ICCProfile Create(string fileName)
Public Shared Function Create(fileName As String) As ICCProfile
Parameters
Type Name Description
string fileName

The file containing the ICC profile metadata.

Returns
Type Description
ICCProfile

The ICCProfile object or null if fileName contains invalid or unsupported data.