Easily create, print and email Adobe PDF documents with ComponentOne PDF™ for WinRT XAML. Create dynamic reports or directly output your UI to a PDF format with support for 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. If you know how to display text and graphics in WinForms, you already know how to use C1PdfDocument in WinRT XAML. Add text, images, lines, rectangles, ellipses, pies, arcs, rounded rectangles, polygons, Bezier curves, and more.
Export Your UI to PDF
Export your Windows 8 UI "as-is" directly to PDF with C1PdfDocument. You can render your entire UI to a PDF in Windows 8.1 using the native RenderTargetBitmap class with the C1PdfDocument component.
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.
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, copying, printing, or editing the document.
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 WinRT XAML, 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.
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.
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.