Default Avatar

stg

stg

About

Username
stg
Joined
Visits
38
Last Active
Roles
Members, FR Team

Comments

  • Hello! The FastReport.Mono.dll build is intended exclusively for desktop and server operating systems (Linux, macOS, Windows) with the full Mono Framework profile, which includes System.Drawing.dll on top of the libgdiplus library. In the Xamarin.An…
  • Hello! On macOS, the Mono environment does not include built-in GDI+. For System.Drawing to work, you need to install the libgdiplus library via Homebrew: brew install libgdiplus You should also disable font embedding in PDFExport: using (var pdf = …
  • Hello! Pass the path to the output file as the second argument to the Export() method. In this case, FastReport does not display the SaveFileDialog: using (var report = new Report()) {   report.Load(‘report.frx’);   report.Prepare();   using (var p…
  • Hello! When performing a background or server-side export, pass the file path or stream directly to the `report.Export()` method, whilst disabling the progress pop-up windows: using (var pdf = new FastReport.Export.Pdf.PDFExport()) {   pdf.ShowProgr…
    in fsdf Comment by stg November 17
  • Hello! As the mod-mono-server4 server operates on the classic ASP.NET model (equivalent to the IIS6 Classic Pipeline), the handler configuration must be specified within the <system.web>/<httpHandlers> section. A ready-made Web.config ex…
  • Hello! In Linux, the Mono environment implements the System.Drawing graphics library via the native libgdiplus package. If the package is not installed or there is no DLL mapping (dllmap) in the Mono configuration, any GUI or graphics application wi…
  • Hello! If your application runs on Windows, use the standard FastReport .NET build instead of FastReport.Mono. The native Windows version prints via Direct GDI+ Print at your printer’s full hardware resolution (300/600/1200 DPI), ensuring perfect cl…
  • Hello! If the report uses standard fonts (Arial, Times New Roman, Courier), which users are guaranteed to have, disable embedding: using (var pdf = new FastReport.Export.Pdf.PDFExport()) {   pdf.EmbeddingFonts = false;   report.Export(pdf, ‘output.p…
  • Hello! The ‘preserve aspect ratio’ mode can be implemented using `SizeMode = PictureBoxSizeMode.StretchImage`, with the dimensions of the `PictureObject` first adjusted to match the image’s aspect ratio in the `BeforePrint` event handler: private vo…
  • Hello! Windows fonts (Arial, Times New Roman, Tahoma) are not included by default in Linux. Please install the Google Noto or DejaVu fonts: sudo apt-get install fonts-noto fonts-dejavu-core ttf-mscorefonts-installer sudo fc-cache -f -v To ensure tha…
  • Hello! The FastReport.Mono package does not include a separate, ready-to-use command-line executable, but a compact C# console utility can be written in just a few lines to convert reports to PDF in batches on Linux (Debian). 1. Create a file called…
  • Hello! When creating dynamic filter conditions, always start the WHERE clause with a condition that is known to be true: SELECT * FROM MyTable WHERE 1=1  /* If the parameter is not passed or is equal to the default value */  AND (@CategoryId IS NULL…
  • Hello! The PictureObject.SizeMode property is an enumeration of type PictureBoxSizeMode (not SizeType): the valid values are Normal, StretchImage, AutoSize, CentreImage and Zoom. Error CS7069 (PictureBoxSizeMode is defined in an assembly that is not…
  • Hello! Support for the GS1 DataBar family (including Expanded and Expanded Stacked) is already available in the latest versions of FastReport .NET. You can update to view the changes.
    in GS1 Databar Comment by stg November 17
  • Hello! If you wish to use an existing .frx file but pass data strictly from your C# code: Report report = new Report(); report.Load(@‘..\..\report.frx’); // Remove the built-in database connectors so that the report does not perform a duplicate SEL…
  • Hello! To ensure that the following rows automatically shift upwards without leaving any empty gaps: Hide the entire band (DataBand / ChildBand) or the TableRow itself, rather than the TextObject — either via the VisibleExpression property (e.g., [R…
    in Row Shifting Comment by stg November 17
  • Hello! To resolve your issue, install the required .ttf fonts on the system/container (or register them via Config.PrivateFontCollection / built-in resources) and use the same web fonts in both CSS and the .frx file. Article: https://www.fast-report…
  • Hello! Add a ChildBand below your DataBand (or attach it to DataBand.Footer / before the footer) with empty cells/frames of the required row height. Set the FillUnusedSpace property of this ChildBand to true. If you require finer manual control, use…
  • Hello! When generating a web page, FastReport generates a native HTML tag: <a href="https://..." style="cursor:pointer">...</a> The link opens in the current window (or in a new tab, if the ‘Target’ attribute is set t…
  • Hello! Add <UseWindowsForms>true</UseWindowsForms> to the .csproj file and initialise WinForms before launching the designer (Application.SetHighDpiMode(HighDpiMode.SystemAware); Application.EnableVisualStyles();).
  • Hello! Please update to the latest release of FastReport.OpenSource / Community Designer and install the official FastReport.Data.SQLite NuGet connector. If the tree in the Table Wizard still does not display the tables, select ‘Add SQL query...’ in…
  • Hello! To resolve your issue, pass the ID of the selected record via a report parameter and set the DataBand.Filter property as follows: report.SetParameterValue(‘SelectedId’, selectedId); // In the template: DataBand.Filter = ‘[Items.Id] == [Select…
  • Hello! When ‘Merge duplicates’ (Duplicates = Duplicates.Merge) is enabled for a TextObject, the text field itself displays only the common string for a group of identical values. To display the number of original rows for this merged value alongside…
    in Mirged Text Comment by stg November 17
  • Hello! The issue with exporting to PDF on Arch Linux – whilst it works fine on Windows – is caused by the project using classic GDI+-based packages, which are no longer supported on Linux from .NET 6/7 onwards and throw an exception (furthermore, wi…
  • Hello! To retrieve a value from the second data source based on a row key from the first data source, use the Relations feature. Specify the parent table (ParentTable, with a unique key ParentColumns) and the child table (ChildTable with a foreign k…
  • Hello! Load the sample data into a table and set a filter in the DataBand (taking account of spaces in the parameter): ( ‘,’ + [ParamIds].Replace(‘ ’, “”) + ‘,’ ).Contains(‘,’ + ToString([Orders.Id]) + ‘,’). On the SQL Server (2016+) / MySQL / Postg…
  • Hello! I am sending you the revised report below. The table border, the report header and the widths of the data columns have been corrected. https://forum.fast-report.com/en/uploads/620/HQUXJE8MLDCW.7z
  • Hello! Our developers are currently working on resolving an issue related to this request; please expect fixes in future versions of FastReport OpenSource.
  • Hello! To resolve your issue, ensure that the Left and Width values for the headers (PageHeader/HeaderBand), data cells (DataBand) and totals (Footer) in the same column match exactly, with no overlap or gaps of 1 px. Also, when using the TableObjec…
  • Hello! To ensure that WordWrap in TextObject wraps names in their entirety, replace the space within the ‘First name Surname’ pair with a non-breaking space \u00A0 (&nbsp;), whilst leaving a normal space after the full stop. For example: [string…