Setting Shadow of Text Effects of Shape or TextBox

Contents
[ ]

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