Using ExportToPDF

Hi,

I'm evaluating FastReport Studio.
How can I obtain the IfrxBuiltinExports interface ?
Loading and previewing the reports works fine, but I don't know what kind of object I need to create to call the ExportToPDF function.

Thanks.

LuckyLuke

Comments

  • edited 3:23AM
    For VC++:
    IfrxBuiltinExports* pExp;
    pReport->QueryInterface(__uuidof(IfrxBuiltinExports), (void**) &pExp);
    pExp->ExportToPDF( "export.pdf", true, true, true);
    pExp->ExportToHTML( "export.html", true, true, true, true, true, false);
    pExp->ExportToRTF( "export.rtf", true, true, true);
    pExp->ExportToXLS( "export.xls", true, true, true, false, false);
    pExp->ExportToXML( "export.xls", true, true, true, false);
    pExp->ExportToBMP( "export.bmp", 96, true, true, true);
    pExp->ExportToTIFF( "export.tif", 96, true, true, true);
    pExp->ExportToJPEG( "export.jpg", 96, 50, false, true, true);
    pExp->Release();
    
  • edited 3:23AM
    Thanks -=Den=-

    It's working now. ;)
    Still testing the preview options...

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.