Page column direction

Hello.

I have a page with two columns and I need the first column to start from the right side.

Is it possible to change the column page orientation?

Or adjust the page orientation from right to left?

Thank you.

Comments

  • Hello!

    By default, FastReport .NET sets the coordinates for two columns to [0, 95] (in mm), so the left-hand column is printed first. To ensure that the first column is printed on the right and the second on the left, simply reverse the order of the X-coordinates in `Columns.Positions`:

    page.Columns.Count = 2;
    page.Columns.Positions.Clear();
    page.Columns.Positions.Add(100f); // first column — on the right
    page.Columns.Positions.Add(0f); // second column — on the left
    

    In the designer, this can be configured under File -> Page Setup -> Columns (change the Positions to the reverse order).

This discussion has been closed.