Browse our Products

Aspose.PDF for C++ 24.9 Release Notes

Changes and Improvements

The new version of Aspose.PDF for C++ has a codebase of Aspose.PDF for .Net 24.9.

Public API and Backward Incompatible Changes

Added APIs

  • class Aspose::Pdf::BitmapInfo

    • enum class PixelFormat { Rgb24, Bgr24, Rgba32, Argb32, Bgra32 }
    • System::ArrayPtr<uint8_t> get_PixelBytes() const
    • int32_t get_Width() const
    • int32_t get_Height() const
    • BitmapInfo::PixelFormat get_Format() const
    • BitmapInfo(System::ArrayPtr<uint8_t> pixelBytes, int32_t width, int32_t height, BitmapInfo::PixelFormat format
  • class Aspose::Pdf::Comparison::GraphicalComparison::GraphicalPdfComparer

    • const System::SharedPtr<Aspose::Pdf::Devices::Resolution>& get_Resolution() const
    • void set_Resolution(System::SharedPtr<Aspose::Pdf::Devices::Resolution> value)
    • const System::SharedPtr<Aspose::Pdf::Color>& get_Color() const
    • void set_Color(System::SharedPtr<Aspose::Pdf::Color> value)
    • double get_Threshold() const
    • void set_Threshold(double value)
    • GraphicalPdfComparer()
    • System::SharedPtr<ImagesDifference> GetDifference(System::SharedPtr<Page> page1, System::SharedPtr<Page> page2)
    • void ComparePagesToPdf(System::SharedPtr<Page> page1, System::SharedPtr<Page> page2, System::String resultPdfPath)
    • void ComparePagesToPdf(System::SharedPtr<Page> page1, System::SharedPtr<Page> page2, System::SharedPtr<Document> pdfDocument)
    • void CompareDocumentsToPdf(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::String resultPdfPath)
    • void ComparePagesToImage(System::SharedPtr<Page> page1, System::SharedPtr<Page> page2, System::String resultImagePath)
    • void CompareDocumentsToImages(System::SharedPtr<Document> document1, System::SharedPtr<Document> document2, System::String targetDirectory, System::String fileNamePrefix, System::SharedPtr<System::Drawing::Imaging::ImageFormat> imageFormat)
  • class Aspose::Pdf::Comparison::GraphicalComparison::ImagesDifference

    • const System::SharedPtr<System::Drawing::Bitmap>& get_SourceImage() const
    • const System::ArrayPtr<int32_t>& get_Difference() const
    • int32_t get_Stride() const
    • int32_t get_Height() const
    • System::SharedPtr<System::Drawing::Bitmap> GetDestinationImage()
    • System::SharedPtr<System::Drawing::Bitmap> DifferenceToImage(System::SharedPtr<Color> color, System::SharedPtr<Color> backgroundColor)
    • void Dispose() override
  • class Aspose::Pdf::CrashReportOptions

    • System::String get_ApplicationTitle() const
    • System::String get_LibraryVersion() const
    • System::String get_CrashReportDirectory() const
    • void set_CrashReportDirectory(System::String value)
    • System::String get_CrashReportFilename() const
    • void set_CrashReportFilename(System::String value)
    • System::String get_CrashReportPath()
    • System::String get_CustomMessage() const
    • void set_CustomMessage(System::String value)
    • System::Exception get_Exception() const
    • CrashReportOptions(System::Exception exception)
  • enum class Aspose::Pdf::PdfVersion { v_1_0, v_1_1, v_1_2, v_1_3, v_1_4, v_1_5, v_1_6, v_1_7, v_2_0 }

  • void Aspose::Pdf::Document::Document(Aspose::Pdf::PdfVersion)

  • System::SharedPtr<Aspose::Pdf::BitmapInfo> Aspose::Pdf::Image::get_BitmapInfo()

  • void Aspose::Pdf::Layer::Save(System::SharedPtr<System::IO::Stream>)

  • System::SharedPtr<Aspose::Pdf::Matrix> Aspose::Pdf::Matrix::GetFlipMatrix()

  • void Aspose::Pdf::PdfException::GenerateCrashReport(System::SharedPtr<Aspose::Pdf::CrashReportOptions>)

  • System::String Aspose::Pdf::XImageCollection::Add(System::SharedPtr<Aspose::Pdf::BitmapInfo>)

  • Aspose::Pdf::XImageCollection::Add(System::SharedPtr<Aspose::Pdf::BitmapInfo>, Aspose::Pdf::ImageFilterType)

Removed APIs

  • void Aspose::Pdf::Annotations::RedactionAnnotation::Flatten()
  • void Aspose::Pdf::Forms::Field::Flatten()

Complete details of API can be referenced from Aspose.PDF for C++ API Reference Guide.