TileScaleX
PictureFillFormat.TileScaleX property
Returns or sets the horizontal scale for the texture fill as a percentage. Read/write Single.
public float TileScaleX { 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 horizontal scale for the texture to 120 percents
pictureFillFormat.TileScaleX = 120;
}
See Also
- class PictureFillFormat
- namespace Aspose.Slides
- assembly Aspose.Slides