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 11:06PM
    before running the export set the properties for the export
  • edited 11:06PM
    I don't see any properties in the Export component for "Separate pages"
  • gpigpi
    edited 11:06PM
    frxJPEGExport1.SeparateFiles

Leave a Comment