setGrayOutputProfile

Set the gray output profile for one document.
setGrayOutputProfile([in] BSTR profilePath)
Sets the gray output profile (for color management) for a single PDF file. This overrides the global xpdfrc setting.

Color management must be enabled (either via the global xpdfrc setting, or using enableColorManagement) before calling this function.

VB:
pdf.setGrayOutputProfile("c:/profiles/some-profile.icc")
enableColorManagement
setRGBOutputProfile
setCMYKOutputProfile