Note: This API is now obsolete.

Gets the ICC color profile with the specified index.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetColorProfiles() method instead.")]
public PdfColorProfile GetColorProfile(
	int index
)
VB
<ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use PdfDocument.GetColorProfiles() method instead.")>
Public Function GetColorProfile ( 
	index As Integer
) As PdfColorProfile

Parameters

index
Type: System.Int32
The zero-based index of the ICC color profile to get.

Return Value

Type: PdfColorProfile
The PdfColorProfile with specified index.

Remarks

This method uses the GetColorProfiles() method internally.

For performance reasons it's better to access document color profiles in a sequential manner using the enumerator provided by the GetColorProfiles() method.

See Also