Dear Brad,
Please use the code snippet given below to add the EMF image in PPTX presentation. Please share with us, if you have any further queries.
//Instantiate PrseetationEx class that represents the PPTX
PresentationEx pres = new PresentationEx();
//Get the first slide
SlideEx sld = pres.getSlides().get (0);
//Add autoshape of rectangle type
int idx = sld.getShapes().addAutoShape(ShapeTypeEx.RECTANGLE, 10, 10, 648, 393);
ShapeEx shp = sld.getShapes().get (idx);
//Set the fill type to Picture
shp.getFillFormat().setFillType(FillTypeEx.PICTURE);
//Set the picture fill mode
shp.getFillFormat().getPictureFillFormat().setPictureFillMode(PictureFillModeEx.TILE );
//Set the picture
// Instantiate a EmfMetafile/WmfMetafile object that represents a metafile
com.aspose.metafiles.EmfMetafile emf = new com.aspose.metafiles. EmfMetafile(new FileInputStream(new File("D:\\Aspose Data\\MyImage.emf")));
// Creating RenderedImage object for the metafile
RenderedImage image = emf.createDefaultRendering();
ImageEx imgx = pres.getImages().addImage (image);
shp.getFillFormat().getPictureFillFormat().getPicture ().setImage(imgx);
//Write the PPTX file to disk
pres.write("D:\\Aspose Data\\RectShpPic.pptx");
Thanks and Regards,