overlay issue: Shape.insert_textbox() got an unexpected keyword argument 'overlay' #3227
-
Hi all, I noticed this with insert_text() too. Am I doing something wrong here? Here is my code: Throws this: Obviously overlay=True doesn't work either. Not a huge deal but I'd prefer it in the background. Let me know if I'm doing something wrong. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
The
Page
object has theShape
as a child. Accordingly, methodsdraw_*()
andinsert_text*()
are wrappers on the page level, which are decomposed in multiple methods on the shape level, e.g.Page.insert_textbox()
is decomposed intoShape.insert_textbox()
followed byShape.commit()
.As you can see, only
.commit()
knows the keyword overlay.The
Page
version has the additional keyword "overlay".