PDF for UWP | ComponentOne
In This Topic
    PDF for UWP Features
    In This Topic

    PDF for UWP 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 UWP that you may find useful:

    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 UWP. Add text, images, lines, rectangles, ellipses, pies, arcs, rounded rectangles, polygons, Bezier curves, and more.

    Export your UWP 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.

    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.

    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 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.

    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.

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

    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.

    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.

    PDF enables export of JPEG2000 Images, provisions for digital signatures, and support for embedded fonts.    

    PDF supports the Acrobat Reader built-in fonts: Times, Helvetica, and Symbol, as well as embedded and non-embedded TrueType fonts.

    PDF/A is commonly used by users creating invoices, brochures, manuals or research reports to store their reports to PDF/A formats. It enables export of JPEG2000 Images, provisions for digital signatures, and support for embedded fonts.