Scryber.Core
5.1.0.2-beta
See the version list below for details.
dotnet add package Scryber.Core --version 5.1.0.2-beta
NuGet\Install-Package Scryber.Core -Version 5.1.0.2-beta
<PackageReference Include="Scryber.Core" Version="5.1.0.2-beta" />
<PackageVersion Include="Scryber.Core" Version="5.1.0.2-beta" />
<PackageReference Include="Scryber.Core" />
paket add Scryber.Core --version 5.1.0.2-beta
#r "nuget: Scryber.Core, 5.1.0.2-beta"
#addin nuget:?package=Scryber.Core&version=5.1.0.2-beta&prerelease
#tool nuget:?package=Scryber.Core&version=5.1.0.2-beta&prerelease
Pre-release version for Scryber.Core supporting expressions with handlebars and css calc and var support - that is massive for us
Scryber makes creating beautiful documents easy.
The scryber engine is an advanced, complete, pdf creation library for dotnet core.
It supports the easy definition of document templates with, pages, content, shapes and images using xhtml and/or code.
With a styles based template layout, it is easy to create good looking, paginated and flowing documents.
With dynamic content from you applications or sites it is easy to add dynamic data, and repeaters.
Now uncludes support for expressions in both templates and css styles.
scryber supports:
- standard html body, tables, lists, divs and spans and many newer html5 tags
- flowing and flexible layout with multiple pages in css sizes, along with page headers, footers and breaks, and page numbering
- cascading styles: linked, embedded or inline using css syntax and priority.
- databinding for dynamic content or style on simple and complex object models with repeating templates.
- embedding of external content,
- sizing and positioning of elements inline, block, relative or absolute.
- images and colours with text and shape fills, backgrounds and borders.
- multiple fonts, including google fonts, supporting text alignment; spacing; leading; decoration and breaking.
- Graphics support for drawing and paths and text.
- Password security and restrictions on pdf files.
- Full code support either as a whole document, or partial content, and controllers, along with the html/css templates.
- Document controllers for complete control of the layout
Getting Started
The easiest way to begin is to use the Nuget Packages here
scryber.core package (Base libraries for GUI or console applications)
OR for asp.net mvc
scryber.core.mvc package (Which includes the scryber.core package).
Check out Read the Docs for more information on how to use the library.
Getting Involved
We would love to hear your feedback. Feel free to get in touch. Issues, ideas, includes are all welcome.
If you would like to help with building, extending then happy to get contributions
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net5.0
- Microsoft.Extensions.Configuration (>= 5.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 5.0.0)
- Newtonsoft.Json (>= 12.0.3)
- Scryber.Core.OpenType (>= 5.0.3)
- System.Configuration.ConfigurationManager (>= 5.0.0)
- System.Drawing.Common (>= 5.0.0)
- System.Resources.Extensions (>= 5.0.0)
- System.Text.Encoding (>= 4.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Scryber.Core:
Package | Downloads |
---|---|
Scryber.Core.Mvc
The Mvc extensions for the Scryber.Core PDF creation engine - change the way you make documents. Scryber is an advanced PDF generation engine based around HTML templates with CSS styles and SVG drawing, or just code it. It includes full flowing pages, dynamic template binding on your object model and referenced external files, images, css and fonts. Easily create documents from your Apps, MVC sites, or Javascipt ajax calls. This framework is built entirely in .NET6 and Net Standard 2.0 and is released under the LGPL licence so you can use to it in commercial applications. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Scryber.Core:
Repository | Stars |
---|---|
grandnode/grandnode2
E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage
|
|
richard-scryber/scryber.core
Scryber.Core is a dotnet 6 html to pdf engine written entirely in C# for creating beautiful flowing documents from html templates including css styles, object data binding and svg drawing.
|
Version | Downloads | Last updated | |
---|---|---|---|
8.0.0.2-beta | 145 | 17 days ago | |
8.0.0.1-beta | 359 | 2 months ago | |
6.0.4-beta | 19,229 | 1/12/2024 | |
6.0.3.2-beta | 11,192 | 10/6/2023 | |
6.0.3.1-beta | 656 | 10/6/2023 | |
6.0.3-beta | 702 | 10/5/2023 | |
6.0.2.1-beta | 1,062 | 9/18/2023 | |
6.0.2-alpha | 4,437 | 5/4/2023 | |
6.0.1.3-beta | 648 | 9/18/2023 | |
6.0.1-beta | 14,528 | 3/24/2023 | |
6.0.0.16-beta | 1,853 | 3/1/2023 | |
6.0.0.14-beta | 17,048 | 1/1/2023 | |
6.0.0.13-beta | 1,160 | 12/6/2022 | |
6.0.0.10-beta | 1,189 | 10/6/2022 | |
6.0.0.9-beta | 2,629 | 9/30/2022 | |
6.0.0.8-beta | 1,977 | 9/23/2022 | |
6.0.0.6-beta | 800 | 9/23/2022 | |
6.0.0.5-beta | 1,000 | 9/16/2022 | |
6.0.0.4-beta | 962 | 9/16/2022 | |
5.1.0.2-beta | 13,759 | 8/31/2021 | |
5.1.0.1-beta | 1,772 | 7/27/2021 | |
5.1.0-beta | 1,190 | 7/19/2021 | |
5.0.7 | 69,694 | 6/16/2021 | |
5.0.7-alpha | 867 | 4/29/2021 | |
5.0.6.3 | 2,814 | 4/9/2021 | |
5.0.6.2-beta | 797 | 4/7/2021 | |
5.0.6.1-beta | 889 | 4/6/2021 | |
5.0.6 | 1,034 | 3/30/2021 | |
5.0.5.4 | 1,381 | 3/30/2021 | |
5.0.5.3-beta | 1,001 | 3/13/2021 | |
5.0.5.2-beta | 896 | 3/12/2021 | |
5.0.5.1 | 1,463 | 3/5/2021 | |
5.0.5 | 1,378 | 2/26/2021 | |
5.0.5-beta | 945 | 2/21/2021 | |
5.0.4 | 1,909 | 1/30/2021 | |
5.0.3 | 1,293 | 1/18/2021 | |
5.0.3-beta | 942 | 1/12/2021 | |
5.0.3-alpha | 1,046 | 1/4/2021 | |
5.0.1-alpha | 1,109 | 12/30/2020 | |
1.0.2-alpha | 914 | 12/15/2020 | |
1.0.1-alpha | 999 | 9/14/2020 | |
1.0.0.25 | 2,595 | 9/1/2020 | |
1.0.0.24 | 1,549 | 8/18/2020 | |
1.0.0.23 | 1,417 | 8/16/2020 | |
1.0.0.5 | 1,311 | 6/19/2020 | |
1.0.0.3 | 1,449 | 6/10/2020 | |
1.0.0.1 | 1,217 | 5/23/2020 | |
0.9.0 | 1,258 | 5/23/2020 |
5.1.0.2-beta
A major update that now fully supports expressions in attributes, css var and clac along with text, using the handlebars notation - {{...}}
This includes support for simple mathematical expressions from the document variables as welll as functions such as 'concat', 'if(value, 'true', 'false')' or 'index() + model.property'
5.0.7
Adding support for the float left and right within blocks along with css linear and radial gradients
5.0.6.3
Fixes an issue with some TTF fonts on Windows (specifically azure) to look for the best character mapping table, and multi-span text not flowing well due to some changes to try and get float working.
5.0.6
The April release is a bit of a catch up and fix with updates for:
Supporting parsed JSON objects in binding - along with std types and dynamic objects.
margin:value is applied to all margins even if explicit left, right etc. has been previously applied.
Conformance is now carried through to templates, so errors are not indavertantly raised inside the template.
Missing background images will not raise an error.
Support for data images (src='data:image/..') within content - thanks Dan Rusu!
Images are not duplicated within the output for the same source.
5.0.5
Multiple enhancements including
Embed and iFrame support.
Binding speed improvements for longer documents.
Support for border-left, border-right, etc
Support for encryption and restrictions
Support for base href in template files.
Classes and styles on templates are supported.
Added em, strong, strike, del, ins elements
Html column width and break inside
CSS and HTML Logging
Fixed application of multiple styles with the same word inside
Allow missing images on the document is now supported.
Contain fill style for background images.
See: https://scrybercore.readthedocs.io/en/latest/version_history.html for a full break down.