IPictureFillFormat

IPictureFillFormat interface

Represents a picture fill style.

public interface IPictureFillFormat : IFillParamSource

Properties

NameDescription
AsIFillParamSource { get; }Allows to get base IFillParamSource interface. Read-only IFillParamSource.
CropBottom { get; set; }Returns or sets the number of percents of real image height that are cropped off the bottom of the picture. Read/write Single.
CropLeft { get; set; }Returns or sets the number of percents of real image width that are cropped off the left of the picture. Read/write Single.
CropRight { get; set; }Returns or sets the number of percents of real image width that are cropped off the right of the picture. Read/write Single.
CropTop { get; set; }Returns or sets the number of percents of real image height that are cropped off the top of the picture. Read/write Single.
Dpi { get; set; }Returns or sets the dpi which is used to fill a picture. Read/write Int32.
Picture { get; }Returns the picture. Read-only ISlidesPicture.
PictureFillMode { get; set; }Returns or sets the picture fill mode. Read/write PictureFillMode.
StretchOffsetBottom { get; set; }Returns or sets bottom edge of the fill rectangle that is defined by a percentage offset from the bottom edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write Single.
StretchOffsetLeft { get; set; }Returns or sets left edge of the fill rectangle that is defined by a percentage offset from the left edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write Single.
StretchOffsetRight { get; set; }Returns or sets right edge of the fill rectangle that is defined by a percentage offset from the right edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write Single.
StretchOffsetTop { get; set; }Returns or sets top edge of the fill rectangle that is defined by a percentage offset from the top edge of the shape’s bounding box. A positive percentage specifies an inset, while a negative percentage specifies an outset. Read/write Single.
TileAlignment { get; set; }Returns or sets how the texture is aligned within the shape. This setting controls the starting point of the texture pattern and how it repeats across the shape. Read/write RectangleAlignment.
TileFlip { get; set; }Flips the texture tile around its horizontal, vertical or both axis. Read/write TileFlip.
TileOffsetX { get; set; }Returns or sets the horizontal offset of the texture from the shape’s origin in points. A positive value moves the texture to the right, while a negative value moves it to the left. Read/write Single.
TileOffsetY { get; set; }Returns or sets the vertical offset of the texture from the shape’s origin in points. A positive value moves the texture down, while a negative value moves it up. Read/write Single.
TileScaleX { get; set; }Returns or sets the horizontal scale for the texture fill as a percentage. Read/write Single.
TileScaleY { get; set; }Returns or sets the vertical scale for the texture fill as a percentage. Read/write Single.

Methods

NameDescription
CompressImage(bool, float)Compresses the image by reducing its size based on the shape size and specified resolution. Optionally, it also deletes cropped areas.
DeletePictureCroppedAreas()Delete cropped areas of the fill Picture.

See Also