ImageType

IZoomObject.ImageType property

Gets or sets the image type of a zoom object. Read/write ZoomImageType. Default value: Preview

public ZoomImageType ImageType { get; set; }

Remarks

Specifies whether the Zoom object is using the slide preview or a cover image.

Examples

This example demonstrates changing Image Type to Preview value. In this case the current image of a Zoom object changes to slide image:

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

See Also