eb8f10e9b74ba64a71c21c0f1adeeda6ed5db764
FAQ/Formatting/How-do-I-control-the-alignment-of-text-fields-or-justification-in-report-output.md
| ... | ... | @@ -2,9 +2,19 @@ |
| 2 | 2 | |
| 3 | 3 | [[_TOC_]] |
| 4 | 4 | |
| 5 | -##Controlling Alignment |
|
| 5 | +##Controlling Alignment Through Settings.aspx |
|
| 6 | 6 | |
| 7 | -The justification or alignment can be controlled through the Izenda Reports settings.aspx page (v5.4 and up) by setting the "Show Justification" setting on the "Features" tab. The justification of certain headers and titles will then be customizable in the report designer. Justification controls are clickable boxes that cycle through the three options (R, M, L). Here is a list of where the justification controls are: |
|
| 7 | +The justification or alignment can be controlled through the Izenda Reports settings.aspx page (v5.4 and up) by setting the "Show Justification" setting on the "Features" tab. The justification of certain headers and titles will then be customizable in the report designer. Justification controls are clickable boxes that cycle through the three options (R, M, L). |
|
| 8 | + |
|
| 9 | +##Controlling Alignment Through C# |
|
| 10 | + |
|
| 11 | +The justification or alignment can also be set in your C# code using the following line in your ConfigureSettings() method. |
|
| 12 | + |
|
| 13 | +```csharp |
|
| 14 | + AdHocSettings.ShowJustification = true; |
|
| 15 | +``` |
|
| 16 | + |
|
| 17 | +Here is a list of where in the application you can find justification controls: |
|
| 8 | 18 | |
| 9 | 19 | ###The Fields Tab |
| 10 | 20 |