PDF for Silverlight Features

ComponentOne PDF for Silverlight supports most of the advanced features included in the PDF specification, including security, compression, outlining, hyperlinking, and attachments.

The following are some of the features of PDF for Silverlight that you may find useful:

      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. If you know how to display text and graphics in WinForms, you already know how to use C1PdfDocument in Silverlight. Add text, images, lines, rectangles, ellipses, pies, arcs, rounded rectangles, polygons, Bezier curves, and more.

      Export Your UI

Export your Silverlight UI "as-is" directly to PDF with selectable text and images. This is an experimental feature which handles most common UI elements in the visual tree. Or you can simply export the UI to PDF using bitmaps. Just point the C1PdfDocument to your root visual element.

      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

PDF allows multiple levels of compression giving options for high quality and small file size. Metafiles 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. Add attachments to PDF files

      Attachments

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.

      Security and Permissions

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.

      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 Silverlight, you can build this outline structure by adding outline entries (bookmarks).

      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.

      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.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.