Caption alignment can be specified in the Office2007Form by disabling its property, ApplyAeroTheme. This property enables or disables Aero theme when the Office2007Form is enabled. By disabling the ApplyAeroTheme, the title alignment can be changed by using its property, CaptionAlign. The following code example demonstrates the same.
The following are the screenshots of caption alignments:
Figure 1: Title aligned to the left side of the window
Figure 2: Title aligned to the center of the window
Figure 3: Title aligned to the right side of the window
This page will automatically be redirected to the sign-in page in 10 seconds.