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 ;)

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.