What's new

This page summarizes selected updates from the published C++ What’s New page. For newer releases and complete fixes, see the Aspose.PDF for C++ release notes.

What’s new in Aspose.PDF 25.3

The source’s 25.3 section announces Markdown export, available since 25.2. Use SaveFormat::Markdown.

#include <Aspose.PDF.Cpp/Document.h>
#include <Aspose.PDF.Cpp/SaveFormat.h>

void ExportMarkdown(System::String input, System::String output)
{
    auto pdf = System::MakeObject<Aspose::Pdf::Document>(input);
    pdf->Save(output, Aspose::Pdf::SaveFormat::Markdown);
}

What’s new in Aspose.PDF 24.11

DJVU input became available through DjvuLoadOptions.

#include <Aspose.PDF.Cpp/Document.h>
#include <Aspose.PDF.Cpp/DjvuLoadOptions.h>

void ImportDjvu(System::String input, System::String output)
{
    auto settings = System::MakeObject<Aspose::Pdf::DjvuLoadOptions>();
    auto pdf = System::MakeObject<Aspose::Pdf::Document>(input, settings);
    pdf->Save(output);
}

What’s new in Aspose.PDF 24.10

CDR input became available through CdrLoadOptions.

#include <Aspose.PDF.Cpp/Document.h>
#include <Aspose.PDF.Cpp/CdrLoadOptions.h>

void ImportCdr(System::String input, System::String output)
{
    auto settings = System::MakeObject<Aspose::Pdf::CdrLoadOptions>();
    auto pdf = System::MakeObject<Aspose::Pdf::Document>(input, settings);
    pdf->Save(output);
}

What’s new in Aspose.PDF 24.8

SVG placement through Page::AddImage() was added.

#include <Aspose.PDF.Cpp/Document.h>
#include <Aspose.PDF.Cpp/Page.h>
#include <Aspose.PDF.Cpp/PageCollection.h>
#include <Aspose.PDF.Cpp/Rectangle.h>

void PlaceSvg(System::String image, System::String output)
{
    auto pdf = System::MakeObject<Aspose::Pdf::Document>();
    auto sheet = pdf->get_Pages()->Add();
    sheet->AddImage(image, System::MakeObject<Aspose::Pdf::Rectangle>(100, 100, 400, 400));
    pdf->Save(output);
}

What’s new in Aspose.PDF 24.4

SVG loading was corrected. See SVG conversion examples.

What’s new in Aspose.PDF 24.3

PDF-to-TIFF conversion was introduced. The source configures TiffDevice to skip blank pages and use 8-bit color.

#include <Aspose.PDF.Cpp/Document.h>
#include <Aspose.PDF.Cpp/PageCollection.h>
#include <Aspose.PDF.Cpp/Devices/TiffDevice.h>
#include <Aspose.PDF.Cpp/Devices/TiffSettings.h>
#include <Aspose.PDF.Cpp/Devices/ColorDepth.h>
#include <system/io/file.h>
#include <system/io/file_stream.h>

void ExportTiff(System::String input, System::String output)
{
    auto pdf = System::MakeObject<Aspose::Pdf::Document>(input);
    auto renderer = System::MakeObject<Aspose::Pdf::Devices::TiffDevice>();
    renderer->get_Settings()->set_SkipBlankPages(true);
    renderer->get_Settings()->set_Depth(Aspose::Pdf::Devices::ColorDepth::Format8bpp);
    auto stream = System::IO::File::Create(output);
    renderer->Process(pdf, 1, pdf->get_Pages()->get_Count(), stream);
    stream->Close();
}

What’s new in Aspose.PDF 24.2

JPX decoding performance and recovery of malformed document structures were improved.

What’s new in Aspose.PDF 23.7

EPUB export and PCL loading were added. EPUB uses SaveFormat::Epub; PCL uses PclLoadOptions.

What’s new in Aspose.PDF 23.1

DICOM image support was added. See the DICOM example.

What’s new in Aspose.PDF 22.11

The first public macOS edition was released.

What’s new in Aspose.PDF 22.5

XFA form support was introduced. See XFA Forms.

What’s new in Aspose.PDF 22.4

The codebase incorporated Aspose.PDF for .NET and Aspose.Imaging 22.4, with thumbnail, region-constructor, and monochrome-image updates.

What’s new in Aspose.PDF 22.3

Additional overloads accepted ArrayView parameters.

What’s new in Aspose.PDF 22.1

Updates included a CoreFX-based System::Xml implementation, double-conversion 3.1.7, and signed DLLs.

What’s new in Aspose.PDF 21.10

SVG-to-PDF conversion became available. See basic and advanced SVG conversion.

What’s new in Aspose.PDF 21.4

HTML export became available through SaveFormat::Html.