Table of Contents

Method GetColorProfiles

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GetColorProfiles()

Returns an enumerable collection of color profiles used in this document.

public IEnumerable<PdfColorProfile> GetColorProfiles()

Returns

IEnumerable<PdfColorProfile>

An enumerable collection of color profiles used in this document.

Remarks

The returned collection contains only color profiles referenced by PDF objects like pages or form XObjects.

When you save the document with the RemoveUnusedObjects property set to true, all unused color profiles will be removed.