We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Presentation Working with Pictures on the slide

I am working with Presentations in WPF. I am able to add an image to the slide and when theimage is larger than the display area, it correctly resizes. My issue is with smaller images. It also scales them up to fill display area what I would like to do instead is keep the image size the same and center within the allocated area. I know I can do the math to make this happen, but was wondering if there was an easier way.

1 Reply

DJ Devisri Jothi Syncfusion Team November 4, 2016 09:02 AM UTC

Hi Robert, 
Thank you for your update. 
We can add an image to slide in the following ways, 
1.       As slide’s background – Can be added to fit the slide’s width and height. 
2.       As slide’s shape – Can be added in a desired position and size within the slide. 
We have created a sample to demonstrate the above scenarios which can be downloaded from the below link, 
You may use the online UG documentation link to explore about working with images using Presentation library, 
Please let us know if you need any clarification, 

Live Chat Icon For mobile
Up arrow icon