Also how can we extract image flip property?
@pankajku,
Thank you for posting the question.
To extract the image flip property (or the flip property of any shape) from a presentation, you should use the get_FlipH
and get_FlipV
methods from the IShapeFrame interface. The code example below shows how to do this:
auto presentation = MakeObject<Presentation>(u"sample.pptx");
auto shape = presentation->get_Slide(0)->get_Shape(0);
auto horizontalFlip = shape->get_Frame()->get_FlipH();
auto verticalFlip = shape->get_Frame()->get_FlipV();