How to read slide content

for example , i have a sample.pptx,it have one image,or one textbox.
i want get the slide[0] content.

@valuemar

Each slide has collection of shapes that can be normal Autoshape with text or image, charts, tables, images, Ole frame, Audio frame, video frames or SmartArt shapes. You have to access the slide shape collection and based on type shape, you need to typecast the extracted shape to get more detailed properties. I suggest you to please visit this documentation link for your convenience.