Setting Shadow of Text Effects of Shape or TextBox

Contents
[ ]

The following code snippet demonstrates the use of the FontSetting.text_options.shadow.preset_type property to set the shadow of text effects for a Shape or TextBox.