EasyHTMLReports 1.0.0

Suggested Alternatives

Kimtoo.Reports

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package EasyHTMLReports --version 1.0.0
NuGet\Install-Package EasyHTMLReports -Version 1.0.0
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="EasyHTMLReports" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasyHTMLReports --version 1.0.0
#r "nuget: EasyHTMLReports, 1.0.0"
#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.
// Install EasyHTMLReports as a Cake Addin
#addin nuget:?package=EasyHTMLReports&version=1.0.0

// Install EasyHTMLReports as a Cake Tool
#tool nuget:?package=EasyHTMLReports&version=1.0.0

Easy HTML Reports

alternate text is missing from this package README image

A light weight Winforms Library to Generate Awesome styled reports Using HTML and CSS

Tech

.Net Framework 4.0 and above

How to Use.

Find Easy HTML Reports on your toolbox and drop on your form. alternate text is missing from this package README image

Table Theme setup

You can customuze the colors from the Properties window (Or use default)

 Color HeaderGridColor
 Color HeaderBackgroundColor
 Color HeaderFontColor
 Color RowDefaultGridColor
 Color RowDefaultBackgroudColor
 Color RowDefaultFontColor
 Color AlternativeRowGridColor
 Color AlternativeRowGridColor

alternate text is missing from this package README image

Methods

Preview document

  //Shows a Preview dialog of the document
   EasyHtmlReport.ShowPrintPreviewDialog();

alternate text is missing from this package README image Print directily to the printer

  //Prints to the printer with default settings
   EasyHtmlReport.Print();

Create a Blank Page

  //Reset the report to a blank page
  EasyHtmlReport.Clear();

Add New Line

   //Adds new line
   EasyHtmlReport.NewLine();
   //Adds 3  lines
   EasyHtmlReport.NewLine(3);

Add an horizontal line to the page

   //Adds horizontal line to the report
    EasyHtmlReport.AddHorizontalRule();
   //Add properties
    EasyHtmlReport.AddHorizontalRule("border-color: Red");

Print Text/Strings

  //Add string Text or Formated html Text to the report
   EasyHtmlReport.AddString("String");
   EasyHtmlReport.AddString("<p>HTML Here</p>");

alternate text is missing from this package README image Create Pages

    //Create Pages
     EasyHtmlReport.AddString("<H1>Page 1</H1>");
     EasyHtmlReport.NewPage();

     EasyHtmlReport.AddString("<H1>Page 2</H1>");
     EasyHtmlReport.NewPage();
     
     EasyHtmlReport.AddString("<H1>Page 3</H1>");
     EasyHtmlReport.NewPage();

alternate text is missing from this package README image Print Images

  //Add image to the document
   Image img = Image.FromFile("logo.png");
   EasyHtmlReport.AddImage(img);
   //You can pass css properties
   EasyHtmlReport.AddImage(img,"width='100%'");

alternate text is missing from this package README image

[NOTE] All Items can attach CSS properties as parameters Print List Items

   //Print Lists items
    EasyHtmlReport.AddList(
        new object[]
          {
             "Item 1",
             "Item 2",
             "Item 3"
           }  
     );
   //Print ordered List
     EasyHtmlReport.AddList(
       new object[]
              {
                  "Item 1",
                  "Item 2",
                  "Item 3"
              },
              KimToo.EasyHTMLReports.ListType.Ordered  
            );

alternate text is missing from this package README image

Attach controls eg. Charts or styled components to your report

     //Add Other controls and it will be attahced as images
    EasyHtmlReport.AddControl(chartConrol);
    //With properties
     EasyHtmlReport.AddControl(chartConrol,"width='100%'");

Easy HTML Reports can also convert existing DatagridViews to Tables with pagings and headers per page

        //Convert Datagridview  to table
            EasyHtmlReport.AddDatagridView(dataGridView1);
            //attach all properties you want
            EasyHtmlReport.AddDatagridView(dataGridView1"width='100%' border=1'");

alternate text is missing from this package README image

Easy HTML Reports can aloso convert Datatables to Tables with pagings and headers per page

        //Convert Datatables to table
        EasyHtmlReport.AddDataTable(dataGridView1);
        //attach all Datatables  you want
        EasyHtmlReport.AddDataTable(dataGridView1"width='100%' border=1'");

Todos

  • Write MORE Examples
  • Build For WPF

License

MIT

Free Software, Hell Yeah!

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

Initial Release.