Overview:
Scryber is a powerful PDF creation library for dotnet core that makes it easy to create beautiful documents. With Scryber, users can define document templates using XHTML and/or code, and add dynamic data and repeaters for dynamic content. The library supports standard HTML elements like body, tables, lists, divs, and spans, as well as newer HTML5 tags. It also includes features like flowing and flexible layout, cascading styles, data binding, embedding of external content, sizing and positioning of elements, support for multiple fonts including Google Fonts, graphics support for drawing and paths, password security and restrictions on PDF files, and more. Scryber provides full code support and document controllers for complete control of the layout.
Features:
- Easy definition of document templates with XHTML and/or code.
- Support for standard HTML elements like body, tables, lists, divs, and spans.
- Flowing and flexible layout with multiple pages, headers, footers, breaks, and page numbering.
- Cascading styles with support for linked, embedded, or inline CSS.
- Data binding for dynamic content or style on simple and complex object models with repeating templates.
- Support for embedding external content.
- Sizing and positioning of elements inline, block, relative, or absolute.
- Support for images and colors with text and shape fills, backgrounds, and borders.
- Multiple font support, including Google Fonts, with text alignment, spacing, leading, decoration, and breaking.
- Graphics support for drawing, paths, and text.
- Password security and restrictions on PDF files.
- Full code support for entire documents or partial content, along with HTML/CSS templates.
- Document controllers for complete control of the layout.
Installation:
To get started with Scryber, follow these steps:
Install the required NuGet package for your application:
- For GUI or console applications: Install the
scryber.corepackage. - For ASP.NET MVC applications: Install the
scryber.core.mvcpackage, which includes thescryber.corepackage.
- For GUI or console applications: Install the
Consult the Scryber documentation on Read the Docs for more information on how to use the library.
Create a new HTML template file with your content, either from your application code or from an MVC web application.
Generate the PDF output using Scryber by following the instructions in the documentation.
Summary:
Scryber is a feature-rich PDF creation library for dotnet core that provides users with an easy and flexible way to create beautiful and dynamic documents. With support for standard HTML elements, cascading styles, data binding, graphics, password security, and more, Scryber offers a comprehensive set of features for creating professional PDF documents. The library can be installed easily via NuGet packages and comes with detailed documentation on how to use it effectively. Whether you are building a GUI, console, or web application, Scryber is a powerful tool for generating high-quality PDF documents.