From code, I need to set the margins for a report made with fastreport, anyone know how?
I have this code:
- Code: Select all Expand view
oFr := frReportManager():New()
oFr:LoadLangRes("SPANISH.Xml")
oFr:SetIcon("AppLogo")
oFr:AddPage("Pagina")
oFr:AddBand("Header","Pagina",frxPageHeader)
oFr:AddBand("MasterData","Pagina",frxMasterData)
oFr:AddBand("Footer","Pagina",frxPageFooter)
Then I need to define the LeftMargin, RightMargin, TopMargin, RightMargin, Orientation, Font,
Font size, Page size.
Thanks for your help.
Regards