Export to JPG - how to set options

I want to automatically create a JPG from a report with no interaction from the user.

JPEGExport->FileName = FileName;
JPEGExport->DefaultPath = FilePathWithTrailingSlash;
JPEGExport->ShowDialog = false;
ReportPrintResults->Export(JPEGExport);

OK, this works. But I want to be able to check/uncheck the "Separate pages" checkbox without displaying the export options. How do I do that?

thanks!

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:00AM
    before running the export set the properties for the export
  • edited 4:00AM
    I don't see any properties in the Export component for "Separate pages"
  • gpigpi
    edited 4:00AM
    frxJPEGExport1.SeparateFiles

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.