Problem with EMFPages
Hi. I'm trying to change from delphi the order of the pages...
i do the next:
var
paginas:TfrEMFPages;
elReport.PrepareReport();
paginas:=TfrEMFPages.Create(elReport);
for y:=elReport.EMFPages.Count-1 downto 0 do
begin
elReport.EMFPages.ObjectsToPage(y);
paginas.Add(elReport.EMFPages.pages[y].Page);
end;
elReport.EMFPages.Free;
elReport.EMFPages:=paginas;
This result with empty pages.... i dont understand...
How can i acess a page after call the PrepareReport????
Thanks in advande
i do the next:
var
paginas:TfrEMFPages;
elReport.PrepareReport();
paginas:=TfrEMFPages.Create(elReport);
for y:=elReport.EMFPages.Count-1 downto 0 do
begin
elReport.EMFPages.ObjectsToPage(y);
paginas.Add(elReport.EMFPages.pages[y].Page);
end;
elReport.EMFPages.Free;
elReport.EMFPages:=paginas;
This result with empty pages.... i dont understand...
How can i acess a page after call the PrepareReport????
Thanks in advande