Alfredo

thanks -=Den=-.

I have been able to create a graph by code.

now I have another dilemma. I need to export the graph (report) to image (GIF).

I have been proving:

Dim Exportar As FastReport.IfrxCustomExportFilter
Set Exportar = report.CreateReportObjectEx(report, "TfrxCustomExportFilter", "Export")

report.ExportReport (Exportar)

It gives an error me that does not recognize the object.


Thanks

Comments

  • edited 2:35PM
    Dim WithEvents frx As FastReport.TfrxReport
    Dim frxExport As IfrxBuiltinExports

    Set frx = New TfrxReport
    Set frxExport = frx

    frxExport.ExportToGIF "PATH\FILENAME.GIF", Resulution, Monochrome, CropPages, SeparatePages


  • edited 2:35PM

    it has worked. Thanks.

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.