Yes, you can make use of our Bold Reports Embedded Reporting tools with Linux and macOS. You have to ensure the following while using our component.
Bold Reports uses the System.Drawing to measure text size for CanGrow feature supports available Textbox ReportItem and it requires native libgdiplus library. So, you should install the libgdiplus dependent library, which is not available with non-Windows operating systems.
Install the libgdiplus by executing the following commands at a terminal (command) prompt:
sudo apt install libc6-dev
sudo apt install libgdiplus
You need to set the System.Drawing.EnableUnixSupport
as true
in the ConfigProperties
section of the runtimeconfig.json
file, as shown in the following code sample.
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
],
"configProperties": {
......
......
"System.Drawing.EnableUnixSupport": true
}
}
}
Use the Homebrew (“brew”) package manager for installing libgdiplus. After installing brew, install the libgdiplus by executing the following commands at a terminal (command) prompt:
brew update
brew install mono-libgdiplus
See Also
.NET Core dependencies requirements on .NET ubuntu for System.Drawing.Common assembly
.NET Core dependencies requirements on macOS for System.Drawing.Common assembly