modify margin

edited 12:30PM in FastReport 4.0
modify margin all

Comments

  • gpigpi
    edited 12:30PM
    You may do in main script procedure
    begin
         Page1.LeftMargin:=20;
         Page1.RightMargin:=10;
         Page1.TopMargin:=10;
         Page1.BottomMargin:=10;         
    end.
    
    or in Delphi's code
    var page: TfrxReportPage;
    begin
         Page:=TfrxReportPage(frxReport1.FindObject('Page1'));
         Page.LeftMargin:=20;
         Page.RightMargin:=10;
         Page.TopMargin:=10;
         Page.BottomMargin:=10;
         frxReport1.ShowReport();
    end;
    
  • edited 12:30PM
    I have a similitar report, but with a masterdata band with a lot of records, i need to change only first page top margin in report code (i use dialog page to user especify the top margin in cm)... what i do this?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.