[]
        
(Showing Draft Content)

Version 2.1.0.260

New features and improvements

The following features have been added with this version of the product.

  • Added static property ICMapProvider GcPdfDocument.CMapProvider, allows to define ICMapProvider which will be used by GcPdfDocument to request predefined CMap's not existing in GrapeCity.Documents.Pdf.dll.
  • Added GrapeCity.Documents.Pdf.Resources.dll containing additional resources used by GrapeCity.Documents.Pdf.dll, currently it contains additional predefined CMap's.
  • AnnotationBase.DefaultAppearanceString was removed, WidgetAnnotation.DefaultAppearanceString and FreeTextAnnotation.DefaultAppearanceString were added, use them instead.
  • Added properties TextField.RichTextValue, TextField.DefaultStyleString, allows to set value of field as rich formatted string, see PDF specification for more details. Note! GcPdf does not generate automatically appearance streams for RTF text fields, it is not supported.
  • Added AssociatedFiles property for Page, GcPdfDocument, StructElement, AnnotationBase objects, allows to associate list of embedded files with object. This property can be used to generate PDF/A-3x documents if they contains embedded files.
  • Added PdfAConformaceLevel Metadata.PdfA and GcPdfDocument.PdfAConformaceLevel properties allows to set PDF/A conformance level, GcPdfDocument.PdfAConformanceLevel is a wrapper around Metadata property, property GcPdfDocument.PdfACompliant now obsolete.
  • Added Metadata.CreatorTool property it has same purpose as DocumentInfo.Creator.
  • Added support of Sound annotations, see SoundAnnotation class.
  • Added GcPdfGraphics.SoftMask property, allows to set FormXObject as a drawing mask.
  • Method named ITextMap.GetSelectionxxx(...) is renamed to ITextMap.GetFragmentxxx(...).
  • Added Page.TransitionEffect, Page.TransitionDuration properties, allows to define page behavior in presentation mode.
  • Added GcPdfDocument.ArticleThreads list. It allows to define article threads in the document.
  • Added ITextMap Page.GetTextMap(float dpiX = 72, float dpiY = 72) method. It allows to get page's text map represented by ITextMap interface which can be used for hit testing, retrieve list of text fragments on the page etc.
  • Added GcPdfDocument.PageLabelingRanges property, allows to define dictionary of PageLabelingRange objects which define labels for document's pages.

Resolved Issues

The following issues have been resolved since the last release.

  • Fixed the issue where exception occurred on using SignatureLockedFields(SignatureLockedFieldsType, IEnumerable) constructor.
  • Fixed the issue where appearance streams are generated incorrectly for Acroform fields in certain scenario.
  • Fixed the issue where text renders incorrectly in GcPdfGraphics if FontSizeInGraphicUnits is true and GcPdfGraphics.Resolution is not 72.