Home/ Reference/ Fill

shape.Fill.ApplyNoFill()

Removes the fill.

Signature

shape.Fill.ApplyNoFill()

Notes

Removes the fill.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

shape.Fill.ApplyNoFill()               # remove the fill, leaving it transparent
print("Fill removed, current type: ", shape.Fill.Type)

About this section: Fill

Fill — uniform, gradient and pattern fills.

Other entries in this section