The attached code tests various values of graphicHPos. There are two obvious issues:
1. HPos.LEADING places the graphic AFTER the text, not before.
2. HPos.CENTER should place the text over the graphic, not above it.
1. HPos.LEADING places the graphic AFTER the text, not before.
2. HPos.CENTER should place the text over the graphic, not above it.