Can I export PDF layers (OCGs) to raster?

Q: Can I use PDFNet library to export layers (OCGs) from pdf to
raster. I have a pdf, wich contains a few layers. I need export some
layers (not all) export to gif or jpeg. Can I do this with your

A: Using PDFNet SDK ( you can selectively
render PDF layers as illustrated in the PDFLayers sample project (the
second code example):