Create Adobe PDF documents from your apps using ComponentOne PDF™ for .NET. The commands provided for adding content to documents are similar to the ones available in the .NET Graphics class. PDF for .NET gives you security, compression, outlining, hyper-linking, and attachments.
Easily Add Content
The C1PdfDocument class is easy to use. The commands provided for adding content to documents are similar to the ones available in the WinForms Graphics class. Add text, images, lines, rectangles, ellipses, pies, arcs, rounded rectangles, polygons, 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: textbox, checkbox, radio button, push button, combo box, list box, and signature fields.
Use the new DrawStringHtml method to render HTML into your PDF documents. You can flow HTML content into multiple pages or columns, use existing style sheets, and mix HTML with other types of content (images, RTF, plain text, form fields, and so on).
Familiar Syntax Using DrawImage Method
Adding images to PDF 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 and thus retain 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 it. There is a separate password for the owner of the document and for all other users. The user's access can be selectively restricted to allow only certain operations, such as viewing, printing, or editing the document.
Manage Document Restrictions
Allow users to copy and edit content, restrict users from printing the document, set annotation edit permission to the user, and more.
Create an Outline Structure
Most long PDF documents contain an outline structure that is 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 (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 more. Adding an attachment to your PDF file is easy. Simply specify which file you want to attach, what area of the page should contain the attachment, and optionally, the appearance of the attachment.
Add Hyperlinks and Local Links
PDF provides methods for adding hyperlinks and hyperlink targets to your PDF documents. You can also add local links, that when clicked take the user to another location within the same PDF document. This type of link is useful when you want to implement some type of cross-referencing within the document, such as a table of contents or an index.
Control Document Information and Viewer Preferences
PDF allows you to add meta data to the PDF documents you create. Specify author, creation date, keywords, and so on. You can also provide default viewer preferences to be applied when the document is opened in the Adobe Reader. Specify the initial page layout, window position, as well as reader toolbar and menu visibility.