Replace Text with Image in Slides

Is it possible to replace text with images in ppt and pptx ?
if not possible is there any way to find the position of the selected text.(x-axis,y-axis)

Hi Kavi,

Thanks for your interest in Aspose.Slides.

Please use the code snippet below to get the position of the text field that is added inside a shape object.
I am also uploading the sample presentation.

Presentation pres = new Presentation("d://ppt//asd.ppt");

//Accessing Slide 0
Slide sld = pres.Slides[0];

//Accessing all shapes in slide
Aspose.Slides.Shapes shp = sld.Shapes;

//Loop through all shapes
for (int i = 0; i < shp.Count; i++)
    Aspose.Slides.Shape shap = shp[i];

    //Checking whether shape is rectangle
    if (shap is Aspose.Slides.Rectangle)
        //Typecasting to Rectangle shape
        Aspose.Slides.Rectangle tx = (Aspose.Slides.Rectangle)shap;

        // Getting coordinates of the shape
        int xx = tx.X;
        int yy = tx.Y;
        int width = tx.Width;
        int height = tx.Height;

Thanks and Regards,