i want to show directly a preview of a report in an application window (WPF) (without LL-Preview-Window). I have read that combit.Reporting.Wpf.ListLabelViewerControl should do the trick, but i didn´t get to work. ll.Print() always opens the LL-Preview-Window and the ListLabelViewerControl remains empty.
If you want to use the ListLabelViewerControl, you need to create a preview file first and then assign the path to its FileName property. You can do so by following the advice in Export Without User Interaction Using OCX / VCL or .NET Component and use LlExportTarget.Preview in your ExportConfiguration.
If you’d like to print directly to a WPF preview window and use incremental preview and interactive features like drill-down etc, you need to use the EnhancedViewerControl WPF class. See the DataBindingSample for WPF for an example. Basically, this class offers a PreviewControl property that can be assigned to the ListLabel object in your code above like so:
Im not exactly sure what you mean in detail. But within our samples the control is placed within DockPanel/Grid and uses its width and height. How the controls ist placed within your XAML?