Help me How to save preview to file?

BecDavidBecDavid 30162 Tomas Suite 202, Rancho Santa Margarita, CA 92688, US
edited 4:28AM in FastReport 3.0
Hello,
I can save report from preview window by clicking on Save button and save whole preview into file. But I don't know how this make programmatically. Access violation exception is raised when I call method frxReport1.Preview.PreviewPages.SaveToFile(SaveDialogExport.FileName);

Please help me.

Comments

  • gpigpi
    edited 4:28AM
    Try frxReport1.PreviewPages.SaveToFile(SaveDialogExport.FileName);

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.