TileScaleY
PictureFillFormat.TileScaleY property
Returns or sets the vertical scale for the texture fill as a percentage. Read/write Single.
public float TileScaleY { get; set; }
Examples
[C#]
using (Presentation presentation = new Presentation("demo.pptx"))
{
ISlide slide = presentation.Slides[0];
// Gets the picture fill format of the shape
IPictureFillFormat pictureFillFormat = slide.Shapes[0].FillFormat.PictureFillFormat;
// Sets the picture fill mode to Tile
pictureFillFormat.PictureFillMode = PictureFillMode.Tile;
// Sets the vertical scale for the texture to 120 percents
pictureFillFormat.TileScaleY = 120;
}
See Also
- class PictureFillFormat
- namespace Aspose.Slides
- assembly Aspose.Slides