SlideUtil

SlideUtil class

Offer methods which help to search shapes and text in a presentation.

class SlideUtil

Methods

MethodDescription
static void AlignShapes(ShapesAlignmentType, bool, System::SharedPtr<IBaseSlide>)Changes the placement of all shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
static void AlignShapes(ShapesAlignmentType, bool, System::SharedPtr<IBaseSlide>, System::ArrayPtr<int32_t>)Changes the placement of selected shapes on the slide. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
static void AlignShapes(ShapesAlignmentType, bool, System::SharedPtr<IGroupShape>)Changes the placement of all shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
static void AlignShapes(ShapesAlignmentType, bool, System::SharedPtr<IGroupShape>, System::ArrayPtr<int32_t>)Changes the placement of selected shapes within group shape. Aligns shapes to the margins or the edge of the slide or align them relative to each other.
static void FindAndReplaceText(System::SharedPtr<IPresentation>, bool, System::String, System::String, System::SharedPtr<PortionFormat>)Finds and replaces text in presentation with given format
static System::SharedPtr<IShape> FindShape(System::SharedPtr<IPresentation>, System::String)Find shape by alternative text in a PPTX presentation.
static System::SharedPtr<IShape> FindShape(System::SharedPtr<IBaseSlide>, System::String)Find shape by alternative text on a slide in a PPTX presentation.
static System::ArrayPtr<System::SharedPtr<ITextFrame>> GetAllTextBoxes(System::SharedPtr<IBaseSlide>)Returns all text frames on a slide in a PPTX presentation.
static System::ArrayPtr<System::SharedPtr<ITextFrame>> GetAllTextFrames(System::SharedPtr<IPresentation>, bool)Returns all text frames in a PPTX presentation.
SlideUtil()

See Also