FillFormat

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.

Style Values:
  • NotDefined
  • Unknown
  • Percent05
  • Percent10
  • Percent20
  • Percent25
  • Percent30
  • Percent40
  • Percent50
  • Percent60
  • Percent70
  • Percent75
  • Percent80
  • Percent90
  • DarkHorizontal
  • DarkVertical
  • DarkDownwardDiagonal
  • DarkUpwardDiagonal
  • SmallCheckerBoard
  • Trellis
  • LightHorizontal
  • LightVertical
  • LightDownwardDiagonal
  • LightUpwardDiagonal
  • SmallGrid
  • DottedDiamond
  • WideDownwardDiagonal
  • WideUpwardDiagonal
  • DashedUpwardDiagonal
  • DashedDownwardDiagonal
  • NarrowVertical
  • NarrowHorizontal
  • DashedVertical
  • DashedHorizontal
  • LargeConfetti
  • LargeGrid
  • HorizontalBrick
  • LargeCheckerBoard
  • SmallConfetti
  • Zigzag
  • SolidDiamond
  • DiagonalBrick
  • OutlinedDiamond
  • Plaid
  • Sphere
  • Weave
  • DottedGrid
  • Divot
  • Shingle
  • Wave
  • Horizontal
  • Vertical
  • Cross
  • DownwardDiagonal
  • UpwardDiagonal
  • DiagonalCross

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 picture format referenced to. In operations for update background, shape fill or create picture can be used to refer to the existing image in the presentation instead of Base64Data or SvgData
Base64Data string Used only in operations for update background, shape fill, or create pictures. Represents a base64 encoded picture. In GET operations this property is omitted
SvgData string Used only in operations for update background, shape fill, or create pictures. Represents an SVG image. In GET operations this property is omitted. Ignored if Base64Data is specified