Paper Office
paper-pptxAPI referenceenum.dml

MSO_FILL_TYPE

paper-pptx 0.2.0 API reference

Specifies the type of bitmap used for the fill of a shape.

Alias: MSO_FILL

Example::

from pptx.enum.dml import MSO_FILL

assert shape.fill.type == MSO_FILL.SOLID

MS API Name: MsoFillType

http://msdn.microsoft.com/EN-US/library/office/ff861408.aspx

Attributes

BACKGROUND

attributeBACKGROUND
= (5, 'The shape is transparent, such that whatever is behind the shape shows through. Often this is the slide background, but if a visible shape is behind, that will show through.')

The shape is transparent, such that whatever is behind the shape shows through.

Often this is the slide background, but if a visible shape is behind, that will show through.

GRADIENT

attributeGRADIENT
= (3, 'Shape is filled with a gradient')

Shape is filled with a gradient

GROUP

attributeGROUP
= (101, 'Shape is part of a group and should inherit the fill properties of the group.')

Shape is part of a group and should inherit the fill properties of the group.

PATTERNED

attributePATTERNED
= (2, 'Shape is filled with a pattern')

Shape is filled with a pattern

PICTURE

attributePICTURE
= (6, 'Shape is filled with a bitmapped image')

Shape is filled with a bitmapped image

SOLID

attributeSOLID
= (1, 'Shape is filled with a solid color')

Shape is filled with a solid color

TEXTURED

attributeTEXTURED
= (4, 'Shape is filled with a texture')

Shape is filled with a texture

On this page