Spire.PDF 5.10.2

Spire.PDF 5.10.2 supports extracting embedded U3D model from .PDF to .U3D file

We're pleased to announce the release of Spire.PDF 5.10.2. This version supports extracting embedded U3D model and fixes some issues that occurred when converting XPS to PDF, PDF to images, filling form fields and print PDF files. See the content below for more details.

New Features:

  • Supports extracting embedded U3D model from PDF to .U3D file.
  • PdfAnnotationCollection annot = doc.Pages[0].AnnotationsWidget;
    int count = 0;
    for (int i = 0; i < annot.Count; i++)
     {
       if (annot[i] is Pdf3DAnnotation)
        {
          Pdf3DAnnotation annot3D = annot[i] as Pdf3DAnnotation;
          byte[] bytes = annot3D._3DData;
          if (bytes != null)
            {
              File.WriteAllBytes(String.Format("result-{0}.u3d", count), bytes);
              count++;
             }
         }
     }
    

Bug Fixes:

  • Fixes the issue that the gradient was incorrect after converting XPS to PDF.
  • Fixes the issue that the data was not showed after filling form fields.
  • Fixes the issue that the result was blank after printing.
  • Fixes the issue that the application threw the NullReferenceException when converting PDF to images.
  • Fixes the issue that the application threw the NullReferenceException when executing pdfDocument.InsertPage(pdf, 0) method.

Click the link to download Spire.PDF 5.10.2:
More information of Spire.PDF new release or hotfix: