See the result for
See the code to generate this sample
Line 1 A single page document is set up.
Line 2 The default text rotation is horizontal and a label is
Line 3 The angle of text rotation is set in increments of 15
Line 4 The text is centered at the same point each time and used
the angle previously set.
Line 5 Finally, the document is complete and EndDocument displays
the result in the preview window, allowing the user to review
it or print it as desired.