set_TileFlip()
PictureFillFormat::set_TileFlip(Aspose::Slides::TileFlip) method
Flips the texture tile around its horizontal, vertical or both axis. Write Slides::TileFlip.
void Aspose::Slides::PictureFillFormat::set_TileFlip(Aspose::Slides::TileFlip value) override
Remarks
Default is TileFlip::NoFlip.
System::SharedPtr<Presentation> presentation = System::MakeObject<Presentation>(u"demo.pptx");
System::SharedPtr<ISlide> slide = presentation->get_Slide(0);
// Gets the picture fill format of the shape
System::SharedPtr<IPictureFillFormat> pictureFillFormat = slide->get_Shape(0)->get_FillFormat()->get_PictureFillFormat();
// Sets the picture fill mode to Tile
pictureFillFormat->set_PictureFillMode(Aspose::Slides::PictureFillMode::Tile);
// Flips the texture tile around its vertical axis.
pictureFillFormat->set_TileFlip(Aspose::Slides::TileFlip::FlipY);
See Also
- Enum TileFlip
- Class PictureFillFormat
- Namespace Aspose::Slides
- Library Aspose.Slides