Toggle color separations visibility using C++

Product: PDFNet Windows
Product Version: 9.4

Is there a way to enable/disable a specific color separation using the SDK?

I’m looking for a way to achieve the same behavior of Document. enableSeparation(), which is available on the webview.

Hi,

Please view the following the post for a guide on how to implement this:

Hey @kmirsalehi, thanks a lot for your answer.
As it is a 12 years old reply, I was wondering if there could be a better alternative at this point.

Hi @kmirsalehi ,
In the 12 years old example you shared, they don’t show a way to simply list the color separation names. Could you please share how we can list all the separations from a PDF document?
I’ve tried to use pdftron::PDF::PDFDraw::GetSeparationBitmaps but I’m not getting the same separations as when loading the file in the PDFTron webviewer demo.
Thanks