Image

IZoomObject.Image property

Gets or sets image for zoom object. Read/write IPPImage.

public IPPImage Image { get; set; }

Examples

The example demonstrates changing an image of a Zoom object:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    IZoomFrame zoomFrame = pres.Slides[0].Shapes.AddZoomFrame(150, 20, 50, 50, pres.Slides[1]);
    IPPImage image = pres.Images.AddImage(Image.FromFile("image.png"));
    zoomFrame.Image = image;
}

See Also