Quantcast
Channel: ComponentSource News | PDF Components
Viewing all articles
Browse latest Browse all 2766

GrapeCity Documents for PDF 6.1.0

$
0
0
Clone a page within a PDF document

Adds the ability to clone a page within a PDF document.

Features

  • New ClonePage method - It is now possible to clone a page within a PDF document. You can also control whether to include annotations or form fields in the cloned page.
  • Introducing 'PDF Organizer' - GcPdfViewer has a new 'PDF Organizer' dialog to help you organize PDF pages in the viewer. The tool can help:
    • Reorder individual pages or page ranges of a PDF.
    • Duplicate or remove individual pages or page ranges.
    • Rotate all or some pages of a PDF.
    • Merge external PDFs into the current document.
    • Split the current document into several PDFs.
    • Download the modified PDF to your local file system, or apply changes and continue editing the document.
    • The PDF Organizer also provides an API that allows you to access all of its functionality programmatically from code.
  • Support for a range of magnifications for optional content groups (layers) - PDF documents can contain content in different layers, also known as optional content. A particular layer can be made visible or invisible as required. GcPdf allows you to work with layers and set their properties.
    • In GcPdf Viewer, you can examine these layers and show or hide content associated with each layer using the 'Layers' panel in its sidebar.
    • According to the PDF 2.0 spec, groups of optional content layers in a PDF can be associated with specific ranges of magnifications (zoom values) at which they should be made visible in a compliant viewer. GcPdfViewer now supports this, so if a PDF that has such zoom-dependent layers is loaded into the viewer, the layers will be automatically shown or hidden depending on the current zoom factor.
  • GcPdfViewer now supports the display of PDF documents with initial view settings. The viewer now also provides viewerPreferences client-side API to get information about the initial PDF view settings set by a user and opens the PDF document in those settings, similar to Adobe Acrobat. You can use the following settings through code:
    • viewerPreferences: Gets the initial viewer preferences information set by a user.
    • openAction: Gets the initial open action information set by a user.
    • pageMode: Gets the initial page mode information set by a user.
    • pageLayout: Gets the initial page layout information set by a user.
    • hideToolbar: A flag specifying whether to hide the toolbars when the document is active.
    • hideMenubar: A flag specifying whether to hide the menu bar when the document is active.
    • nonFullScreenPageMode: Used to specify the full-screen mode.
  • Digital Signature API:
    • You can now sign PDF documents using the new Client-side document signing API.
    • GcPdfViewer allows you to check whether the current PDF is signed and, if so, which field was used to sign the document:
      • Get signature information using the signatureInfo object.
      • Test if the document is signed or not using signed property.
      • Get the array of signature fields used to sign the document.
      • Get the array of all signature fields in the document.
      • Get Signature values using the signatureValue property like - signerName, location, and signedDate.
    • Save PDF Options:
      • When saving a PDF, the GcPdfViewer's save() method now allows you to save the document using incremental update (needed when signing an already signed PDF) or to save it as a linearized PDF file (optimized for fast internet viewing).
      • The 'viewer.save' method has been enhanced with added optional SaveSettings class. The SaveSettings class includes saveMode enum that can take in various save modes like 'Default', 'Linearized' and 'IncrementalUpdate'.
  • The InterpolationMode property can now be set using the GcGraphics object. The property is also added to SaveAsImageOptions class when saving PDFs to images. The property now allows you to control interpolation mode in a similar manner for all implementations of GcGraphics, i.e., format-specific types of graphics such as GcPdfGraphics, GcBitmapGraphics, GcSvgGraphics, GcSkiaGraphics, GcWicBitmapGraphics, GcD2DBitmapGraphics.
  • Introduced a new layout engine that adds LayoutRect and other related classes in the GrapeCity.Documents.Layout namespace to implement a layout model based on constraints and a flat hierarchy of elements without obvious parent-child relations.
  • The New TableRenderer class has been added to render table layouts on PDF files and images. With this class, you won't need to know the size of table columns, merged cells, or the layout of rotated text. All complex details of table resizing are automatically adjusted by the layout engine.
    • You must provide information about the desired layout, style, and content.
    • TableRenderer class is built on top of the new layout engine. LayoutHost, LayoutView, and LayoutRect provide the initial space for the TableRenderer.
    • All table rows, columns, vertical and horizontal grid lines and cells have the associated LayoutRect objects.
    • A TableRenderer instance takes multiple parameters.
    • You can also add cells to the table and add text to it using AddCells(..) method that accepts data as a parameter.
    • Also included is the AddMissingCells(..) method that ensures no gaps around the cells and accepts data as a parameter.

Viewing all articles
Browse latest Browse all 2766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>