![]() ![]() Pf -> set_RelativeScaleHeight ( 0.8 ) pf -> set_RelativeScaleWidth ( 1.35 ) // Applies some formatting to PictureFrame SharedPtr pf = slide -> get_Shapes () -> AddPictureFrame ( ShapeType :: Rectangle, 50, 50, 100, 100, imgx ) // Sets relative scale width and height SharedPtr imgx = pres -> get_Images () -> AddImage ( bitmap ) // Adds a picture frame to the slide SharedPtr slide = pres -> get_Slides () -> idx_get ( 0 ) // Loads the Image that will be added in presentaiton image collectionĪuto bitmap = MakeObject ( filePath ) // Adds an image to presentation's images collection SharedPtr pres = MakeObject () // Accesses first slide ![]() Aspose.Total Product Family Aspose.Words Product Solution Aspose.PDF Product Solution Aspose.Cells Product Solution Aspose.Email Product Solution Aspose.Slides Product Solution Aspose.Imaging Product Solution Aspose.BarCode Product Solution Aspose.Diagram Product Solution Aspose.Tasks Product Solution Aspose.OCR Product Solution Aspose.Note Product Solution Aspose.CAD Product Solution Aspose.3D Product Solution Aspose.HTML Product Solution Aspose.GIS Product Solution Aspose.ZIP Product Solution Aspose.Page Product Solution Aspose.PSD Product Solution Aspose.OMR Product Solution Aspose.PUB Product Solution Aspose.SVG Product Solution Aspose.Finance Product Solution Aspose.Drawing Product Solution Aspose.Font Product Solution Aspose.TeX Product SolutionĬonst String outPath = u "./out/PictureFrameFormatting_out.pptx" const String filePath = u "./templates/Tulips.jpg" // LoadS the desired the presentation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |