Generate PDFs from UI elements, HTML, or data sources
PDF for .NET uses familiar .NET syntax to generate PDFs from your C# or VB .NET applications. These PDFs can be generated from UI elements, like grids and charts, HTML, or data sources. PDF for .NET supports commonly used PDF features like forms, security, compression, and more.
Easily Add Content
The C1PDFDocument class is easy to use. The provided commands for adding content to documents are similar to the ones available in the WinForms Graphics class.
- rounded rectangles
- Bezier curves
- and more
Use the new AddField method to add Acrobat form fields to your PDF documents.
PDF for .NET supports the following field types:
- text box
- check box
- radio button
- push button
- combo box
- list box
- signature fields
Use the new DrawStringHTML method to render HTML into your PDF documents. Flow HTML content into multiple pages or columns and use existing style sheets. You can also mix HTML with other types of content, like images, RTF, plain text, form fields, and so on.
Familiar Syntax Using DrawImage Method
Adding images to PDF for .NET documents is easy; all the work is done by the DrawImage method. DrawImage draws a given image at a specified location and has parameters that provide control over the image alignment and scaling. You can render any regular .NET Image object, including metafiles.
Fast Rendering and Compression of Images in Metafiles
Metafiles are not converted into bitmaps; they are parsed and converted into vector graphics commands, retaining the best possible resolution. If you want to add charts or technical drawings to your PDF document, metafiles are better than bitmap images.
Owner and User Password Protection
If your PDF documents contain sensitive information, you can encrypt them so that only authorized users can access them. Separate passwords are given for the owner of the document and all other users. The user's access can be selectively restricted to enable only certain operations, like viewing, printing, or editing the document.
Manage Document Restrictions
Enable users to copy and edit content, restrict users from printing documents, set annotation edit permission for the user, and more.
Create an Outline Structure
Most long PDF documents contain an outline structure displayed on a pane on the left of the reader. The outline makes it easy to browse through a document's structure and find specific topics. With PDF for .NET, you can build this outline structure by adding outline entries — also called bookmarks.
Add Attachments to PDF Files
Attachments can contain any kind of file, including spreadsheets with detailed information that would clutter the main document, multimedia files with movies and sound, sample code, and other file types. Adding an attachment to your PDF file is easy. Simply specify the desired file and what area of the page should contain the attachment. You can also specify the appearance of the attachment.
Add Hyperlinks and Local Links
PDF for .NET provides methods for adding hyperlinks and hyperlink targets to your PDF documents. You can also add local links that take the user to another location within the same PDF documeny when clicked on. This type of link is useful when you want to implement some type of cross-referencing within the document, like a table of contents or an index.
- Reporting & Documents
- C1Word Library
- FlexReport Designer
- PDF DocumentSource