How do I read/extract vector graphics (.ps and .eps images) from a PDF?

Hi,

I want to check for any broken/missing vector graphics especially PS and EPS graphics in PDF using PDFNet library.
If a method in PDFNet library can get me the result whether a vector graphic is valid or not, I’ll be through.
In my PDF file few PS/EPS graphics are appearing fine, but few are appearign just as gray boxes (with broken reference path), which I want to sort out.
Can you please assist me providing a sample code for that.

Thanks,
Deepti