Browse our Products

Aspose.PDF for C++ 25.7 Release Notes

Changes and Improvements

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

Public API and Backward Incompatible Changes

Added APIs

  • class Aspose::Pdf::Annotations::Annotation

    • void CreateExtGStateWithOpacity(System::SharedPtr<Aspose::Pdf::XForm>)
    • System::String DefaultFontName;
    • System::String DefaultFontKey;
    • System::String DefaultFontSize;
  • class Aspose::Pdf::Devices::ImageDevice

    • System::SharedPtr<System::Drawing::Bitmap> GetBitmap(System::SharedPtr<Aspose::Pdf::Page>);
  • class Aspose::Pdf::Document

    • Document(System::SharedPtr<System::IO::Stream> input, System::SharedPtr<Security::CertificateEncryptionOptions> certOptions);
    • Document(System::SharedPtr<System::IO::Stream> input, System::SharedPtr<Security::CertificateEncryptionOptions> certOptions, bool isManagedStream);
    • Document(System::String filename, System::SharedPtr<Security::CertificateEncryptionOptions> certOptions);
    • Document(System::String filename, System::SharedPtr<Security::CertificateEncryptionOptions> certOptions, bool isManagedStream);
    • void Encrypt(Aspose::Pdf::Permissions permissions, Aspose::Pdf::CryptoAlgorithm cryptoAlgorithm, System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>>> publicCertificates);
  • class Aspose::Pdf::Security::CertificateEncryptionOptions

    • CertificateEncryptionOptions(System::String publicCertificatePath, System::String pfxPath, System::String pfxPassword);
    • CertificateEncryptionOptions(System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2> publicCertificate, System::String pfxPath, System::String pfxPassword);
  • class Aspose::Pdf::Text::TextReplaceOptions

    • const System::SharedPtr<Aspose::Pdf::Rectangle>& get_Rectangle() const;
    • void set_Rectangle(System::SharedPtr<Aspose::Pdf::Rectangle> value);
    • TextReplaceOptions::FontSizeAdjustment get_FontSizeAdjustmentAction() const;
    • void set_FontSizeAdjustmentAction(TextReplaceOptions::FontSizeAdjustment value);
    • enum class FontSizeAdjustment
      • None,
      • ShrinkToFit,
      • ScaleToFill

Removed APIs

  • System::String Aspose::Pdf::Annotations::Annotation::message1;
  • System::String Aspose::Pdf::Operator::FloatToStr(double);

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