mirror the page

hi Alex,

Is there anyway to mirror the report's page at the runtim ?
all left objects move to right , all right objects move to left
(such as the FlipChildren in delphi)

Comments

  • edited 2:01AM
    Hello,

    You may access report objects from your code and change its coordinates:
          foreach (Base c in report.AllObjects)
          {
            if (c is ReportComponentBase && !(c is BandBase))
            {
              ReportComponentBase obj = c as ReportComponentBase;
              BandBase parent = obj.Parent as BandBase;
              if (parent != null)
                obj.Left = parent.Width - obj.Right;
            }
          }
    
  • edited 2:01AM
    thank

Leave a Comment