TrueMoon.FluentReporting
0.0.1.4-a
This is a prerelease version of TrueMoon.FluentReporting.
dotnet add package TrueMoon.FluentReporting --version 0.0.1.4-a
NuGet\Install-Package TrueMoon.FluentReporting -Version 0.0.1.4-a
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TrueMoon.FluentReporting" Version="0.0.1.4-a" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TrueMoon.FluentReporting" Version="0.0.1.4-a" />
<PackageReference Include="TrueMoon.FluentReporting" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TrueMoon.FluentReporting --version 0.0.1.4-a
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TrueMoon.FluentReporting, 0.0.1.4-a"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TrueMoon.FluentReporting@0.0.1.4-a
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TrueMoon.FluentReporting&version=0.0.1.4-a&prerelease
#tool nuget:?package=TrueMoon.FluentReporting&version=0.0.1.4-a&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TrueMoon.FluentReporting
Small and lightweight reporting framework with fluent API
Basic sample:
var template = Report.Create<TestData>(template => template
.PageMargin(left:50, top:20, right:50, bottom:50)
.Page(page => page
.Title(title => title.Text("Data Report").HorizontalAlignment(HorizontalAlignment.Center))
.Text("Some text")
.BlankSpace(4f)
.Table(table => table
.WithSource(data => data.List)
.Column(column => column
.Alignment(horizontalAlignment:HorizontalAlignment.Left,verticalAlignment:VerticalAlignment.Bottom)
.Header("Key")
.Value(data => data.key)
.Width("1*")
)
.Column(column => column
.Alignment(horizontalAlignment:HorizontalAlignment.Right)
.Header("Value2")
.Value(data => data.value2)
.Width("1*")
.Background(data => data.key switch
{
"key" => "#50c878",
"key_1" => "#ff852b",
"key_2" => "#77aaff",
_ => string.Empty
})
)
)
.Text("some text 1")
.Text(t=>t
.Text("some text 2")
.Visibility(false)
)
.Text(t=>t
.Text("some text 3")
.Visibility(data => data == null)
.As<IText<TestData2>>()
)
.BlankSpace(20)
.Image(image => image.LoadFrom(data=>data.ImageData))
)
);
template.ExportPdf(Path.Combine(AppContext.BaseDirectory, "report.pdf"));
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- SkiaSharp (>= 3.119.0)
- Topten.RichTextKit (>= 0.4.167)
- TrueMoon.FluentReporting.Contracts (>= 0.0.1.4-a)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.