Haru 1.0.0

dotnet add package Haru --version 1.0.0
                    
NuGet\Install-Package Haru -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="Haru" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Haru" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Haru" />
                    
Project file
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 Haru --version 1.0.0
                    
#r "nuget: Haru, 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.
#:package Haru@1.0.0
                    
#: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=Haru&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Haru&version=1.0.0
                    
Install as a Cake Tool

Haru C# Port : PDF Generation Library

The library is a port of LibHaru C++ library (https://github.com/libharu/libharu) and futher development of Haru.Net (https://github.com/gehtsoft-usa/PDFLib) which was an interop around native libharu.

This version is full .NET port without any native code left. This version also provides some improvements over original libharu, including support of AcroForms, modern security and better fonts support.

The source code is in github (https://github.com/nikolaygekht/haru-net-full-port)

See https://github.com/nikolaygekht/haru-net-full-port/tree/main/cs-src/Haru.Demos for examples

License

Haru is distributed under the ZLIB/LIBPNG License. Because ZLIB/LIBPNG License is one of the freest licenses, You can use Haru for various purposes.

The license of Haru is as follows.

Copyright (C) 1999-2006 Takeshi Kanno Copyright (C) 2007-2009 Antony Dovgal

This software is provided 'as-is', without any express or implied warranty.

In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. This notice may not be removed or altered from any source distribution.

Product 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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Haru:

Package Downloads
Gehtsoft.PDFFlowLib

PDFFlow is a cross-platform C# library for creating PDF documents. The library is based on C# port the well-known libHaru. With PDFFlow, you can create complex PDF documents fast and efficiently - you define documents as a set of layout rules and a sequence of paragraphs, tables, images, headers, etc. and the library does all the work to create a PDF document by applying the layout on the content stream. You can create agreements, contracts, log books, invoices, tickets, catalogs, brochures, complex tax and regulatory forms, medical documents, school and university tests, books and magazines and many other kinds of documents. Your documents can include: - Text with different formatting, including special fields such as page numbers and URLs, and widow and orphan control. - Built-in Base14 fonts, multibyte CID fonts, external TrueType and Type1 fonts, single-byte and multibyte encodings. - Multilevel lists with easy-to-use styles. - Tabulations. - Images with configurable size and scaling. - Lines, both vertical and horizontal. - Tables taking data from a data source, with colspan and rowspan. - Multi-page and book spread tables. - Repeating areas: multiple headers, footers, left and right repeating areas, and repeating areas by coordinates. - Document flow areas that define the location of the document main flow on the pages. - Automatically generated table of content. PDFFlow supports automatic pagination and layouting: the content is automatically continued on the next page if it does not fit in the current page. You can configure any formatting settings of your document and its elements: fonts, colors, alignment, borders, indents, stroke styles, etc. as you need. This can be done using the corresponding methods in each case or through styles - you create your styles and apply them to quickly get the necessary formatting. The PDFFlow library is supplied with real document samples accompanied by descriptive articles and tutorials with many working code examples that can be used as is or modified, and the API reference. The included license allows you to use the library for free: - In any open source or non-commercial project or products. - To prototype, develop, and test commercial projects or products. The commercial license is required to use the library in commercial projects on the production stage (including the products used to support the internal business). Review the licences available at https://www.pdfflow.io/licensing or contact Gehtsoft USA LLC sales representative to get details about the licensing. Examples and tutorials: https://github.com/gehtsoft-usa/PDF.Flow.Examples Online documentation: http://docs.gehtsoftusa.com/pdfflow/web-content.html

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 1,281 11/13/2025

Fully C# version of Haru PDF library.