Setting Shadow of Text Effects of Shape or TextBox

Contents
[ ]

The following code snippet demonstrates the use of FontSetting.TextOptions.Shadow.PresetType.PresetType property to set shadow of text effects of Shape or TextBox.