GrapeCity Documents for PDF 4.0.0.632

Released: Feb 24, 2021

4.0.0.632 中的更新

特性

  • Added new GrapeCity.Documents.Pdf.Annotations.DefaultAppearance class: represents the default appearance of an annotation.
  • Added new GrapeCity.Documents.Pdf.Annotations.AnnotationBase.CreateAppearanceContentStream() method: creates an instance of FormXObject that can be used to define the annotation's appearance stream.
  • Added new GrapeCity.Documents.Pdf.Annotations.WidgetAnnotation.DefaultAppearance property: gets the DefaultAppearance that specifies the visual properties used to format the annotation.
  • Added new GrapeCity.Documents.Pdf.Annotations.FreeTextAnnotation.DefaultAppearance property: gets the DefaultAppearance that specifies the visual properties used to format the annotation.
  • Added new GrapeCity.Documents.Pdf.Annotations.RedactAnnotation.OverlayAppearance property: gets the DefaultAppearance that specifies the visual properties used to format the overlay.
  • Added overloads which accept font, font size and color, to methods on GcGraphics: DrawComboBox(), DrawCombTextBox(), DrawCombTextBox(), DrawListBox(), DrawPushButton(), DrawUnsignedSignature() and DrawTextBox().
  • If a PDF contains pages with errors, GcPdfDocument.Save() now ignores those errors (previously, it would throw an exception).
  • Improved speed when saving certain PDFs with tiling patterns as images.

修补程序

  • The following properties were removed to ensure compliance with the PDF specification: WidgetAnnotation.DefaultAppearanceString, FreeTextAnnotation.DefaultAppearanceString, RedactAnnotation.OverlayTextAppearanceString, RedactAnnotation.OverlayTextFormat. Use the new DefaultAppearance/OverlayAppearance properties instead.
  • WidgetAnnotation.TextFormat is deprecated, the new WidgetAnnotation.DefaultAppearance property should be used instead.
  • When using certain fonts, Japanese characters are garbled in the generated PDF.
  • Exception is thrown when loading a specific PDF.
  • Fonts specified for form fields are lost when the fields' values are set programmatically in code.
  • Errors may occur if multiple threads are saving PDFs that use CFF fonts.