ComponentOne FlexReport for WinForms
Map Custom Field
Working with FlexReportDesigner > Adding FlexReport Custom Fields > Map Custom Field

FlexReport supports map fields using its extensible custom field architecture. In the following topics, you'll see how you can customize map fields in reports using the FlexReportDesigner application. The Map custom field uses two assemblies, C1.Win and C1.Win.Map, which should be referenced by your project before you begin.

To start using the Map custom field in the FlexReportDesigner application, complete the following steps:

  1. Run the C1FlexReportDesigner application.
  2. Confirm that the map icon is present in the C1FlexReportDesigner toolbar. If it is not included, you may need to add the following line to the <customfields> section of the C1FlexReportDesigner.4.exe.settings file:
    <item value="C1.Win.FlexReport.CustomFields.4;C1.Win.FlexReport.CustomFields.Map" />
  3. Create a new report or open an existing report. See Step 1 of 4: Creating a Report Definition for an example.
  4. Click the map icon and drag it onto your report to add a Map field.

That's it! The main aspects of the Map field include:

Note that if C1FlexReport definition contains map field and the report is generated asynchronously, the map field cannot be displayed in the FlexViewer control. As a workaround please set the C1FlexViewer.UseAsyncRendering property to False.

See Also