FillFormat
Contents
[
Hide
]
FillFormat Type
This complex type represents a fill format. There are 5 different types of fill format:
No Fill
Represents FillFormat with no fill.
Solid Fill
Represents FillFormat with solid color fill.
| Property Name | Type | Description |
|---|---|---|
| Color | string | Solid color. |
Color represents hexadecimal triplets representing opacity and colors red, green, and blue (#OORRGGBB). Ex. #FFFF0000 - red color.
Gradient Fill
Represents FillFormat with gradient color fill.
| Property Name | Type | Description |
|---|---|---|
| Direction | NotDefined / FromCorner1 / FromCorner2 / FromCorner3 / FromCorner4 / FromCenter | Gradient direction. |
| Shape | NotDefined / Linear / Rectangle / Radial / Path | Gradient shape type. |
| LinearAngle | float | Linear gradient angle. |
| IsScaled | bool | Is linear gradient scaled. |
| TileFlip | NotDefined / NoFlip / FlipX / FlipY / FlipBoth | Gradient tile type. |
| Stops | List | List of GradientStop items. |
Gradient Stop
| Property Name | Type | Description |
|---|---|---|
| Position | float | The relative (0..1) offset of gradient stop. |
| Color | string | Solid color. |
Color represents hexadecimal triplets representing opacity and colors red, green, and blue (#OORRGGBB). Ex. #FFFF0000 - red color.
Pattern Fill
Represents FillFormat with pattern color fill.
| Property Name | Type | Description |
|---|---|---|
| BackColor | string | Background solid color. |
| ForeColor | string | Foreground solid color. |
| Style | enum | Style of the pattern. |
Color represents hexadecimal triplets representing opacity and colors red, green, and blue (#OORRGGBB). Ex. #FFFF0000 - red color.
Picture Fill
Represents FillFormat with picture fill.
| Property Name | Type | Description |
|---|---|---|
| CropBottom | float | Relative (0..1) crop from bottom. |
| CropLeft | float | Relative (0..1) crop from left. |
| CropRight | float | Relative (0..1) crop from right. |
| CropTop | float | Relative (0..1) crop from top. |
| Dpi | int | Image Dpi if set. |
| PictureFillMode | Tile / Stretch | Fill mode of picture. |
| Image | Resource | Link to the image resource. In update-background, shape-fill, or create-picture operations, this can refer to an existing image in the presentation instead of using Base64Data or SvgData. |
| Base64Data | string | Used only in update-background, shape-fill, or create-picture operations. Represents a Base64-encoded picture. This property is omitted in GET operations. |
| SvgData | string | Used only in update-background, shape-fill, or create-picture operations. Represents an SVG image. This property is omitted in GET operations and ignored if Base64Data is specified. |
| Resolution | float | Used only in update-background, shape-fill, or create-picture operations. Specifies the resolution (in DPI) at which to compress the image. |
| DeletePictureCroppedAreas | boolean | Used only in update-background, shape-fill, or create-picture operations. If set to true, deletes the cropped areas of the picture. |