Aspose.PDF.Cpp.x86 23.1.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.PDF.Cpp.x86 --version 23.1.0
                    
NuGet\Install-Package Aspose.PDF.Cpp.x86 -Version 23.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.PDF.Cpp.x86" Version="23.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspose.PDF.Cpp.x86" Version="23.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Aspose.PDF.Cpp.x86" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspose.PDF.Cpp.x86 --version 23.1.0
                    
#r "nuget: Aspose.PDF.Cpp.x86, 23.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspose.PDF.Cpp.x86@23.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspose.PDF.Cpp.x86&version=23.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Aspose.PDF.Cpp.x86&version=23.1.0
                    
Install as a Cake Tool

Description

Aspose.PDF for C++ is a native C++ library that enables the developers to add PDF handling capabilities to their C++ applications.

Aspose.PDF for C++ API can be used to build C++ applications which are capable of reading, writing, rendering, printing, and converting PDF documents (PDF, PDF/A). You can also work with attachments, images, security, signatures, text, and tables.

Aspose.PDF for C++ allows you to extract text from all pages of a PDF document, set privileges on a PDF file, work with bookmarks and annotations. It also gives you vast control over customizing the PDF display properties, fonts, zoom fact, and content formatting. Text search feature is also available. You can convert PDF documents to the DOC, DOCX, and SVG formats by simply calling the designated C++ methods.

Aspose.PDF for C++ performs equally well at the client-end and server-side. It can be used in the development environment that supports C++ but explicitly supports MS Visual Studio 2015 or later. Aspose.PDF for C++ can be installed manually by downloading its ZIP package or it (Aspose.PDF.CPP) can be added via NuGet Package Manager. Support for Qt framework is also available.

Usage

The types from this package can be used in the client's code. Please make sure to use proper smart pointer wrappers for class-like types. For more information, please refer to the product documentation.

#include "Aspose.PDF.Cpp/Document.h"
#include "Aspose.PDF.Cpp/Page.h"
#include "Aspose.PDF.Cpp/PageCollection.h"
#include "Aspose.PDF.Cpp/Generator/Paragraphs.h"
#include "Aspose.PDF.Cpp/Text/TextFragment.h"
#include "Aspose.PDF.Cpp/SaveFormat.h"

using namespace System;
using namespace Aspose::Pdf;

void pdf2docx(String inputFilename, String outputFilename)
{
    auto document = MakeObject<Document>(inputFilename);
    document->Save(outputFilename, SaveFormat::DocX);
}

bool create_pdf(String filename)
{
    try
    {
        auto document = MakeObject<Document>();

        auto page = document->get_Pages()->Add();
        auto paragraps = page->get_Paragraphs();
        paragraps->Add(MakeObject<Aspose::Pdf::Text::TextFragment>(u"Hello World!"));
        paragraps->Add(MakeObject<Aspose::Pdf::Text::TextFragment>(u"This example is created by Aspose.Pdf for C++."));

        page = document->get_Pages()->Add();
        paragraps = page->get_Paragraphs();
        paragraps->Add(MakeObject<Aspose::Pdf::Text::TextFragment>(u"Second page."));
        paragraps->Add(MakeObject<Aspose::Pdf::Text::TextFragment>(u"This example is created by Aspose.Pdf for C++."));
        document->Save(filename);
    }
    catch (const Exception& ex)
    {
        std::cout << ex->get_Message() << std::endl;
        return false;
    }
    return true;
}

int main()
{
    if (create_pdf(u"hello.pdf"))
        pdf2docx(u"hello.pdf", u"hello.docx");
}

Resources

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
25.9.0 78 9/19/2025
25.8.0 138 8/20/2025
25.7.0 532 7/22/2025
25.6.0 157 6/18/2025
25.5.0 249 5/15/2025
25.4.0 555 4/18/2025
25.3.0 293 3/18/2025
25.2.0 582 2/18/2025
25.1.0 655 1/21/2025
24.12.0 620 12/18/2024
24.11.0 731 11/20/2024
24.10.1 640 10/18/2024
24.9.0 839 9/17/2024
24.8.0 720 8/21/2024
24.7.0 617 7/19/2024
24.6.0 733 6/20/2024
24.5.0 655 5/16/2024
24.4.0 669 4/22/2024
24.3.0 1,025 3/18/2024
24.2.1 881 2/23/2024
24.1.0 28,197 1/20/2024
23.12.0 1,273 12/20/2023
23.11.0 1,235 11/21/2023
23.10.0 1,033 10/20/2023
23.9.0 1,114 9/20/2023
23.8.0 1,371 8/17/2023
23.7.0 1,133 7/25/2023
23.6.0 833 6/20/2023
23.5.0 795 5/22/2023
23.4.0 1,162 4/17/2023
23.3.0 5,021 3/20/2023
23.2.0 1,220 2/20/2023
23.1.0 1,246 1/23/2023
22.12.1 3,842 12/28/2022
22.12.0 1,209 12/20/2022
22.11.0 1,070 11/22/2022
22.10.1 1,160 10/21/2022
22.10.0 1,053 10/20/2022
22.9.0 1,251 9/15/2022
22.8.0 1,315 8/17/2022
22.7.0 1,465 7/22/2022
22.6.0 1,650 6/21/2022
22.5.0 1,865 5/24/2022
22.4.0 1,691 4/25/2022
22.3.0 1,564 3/21/2022
22.2.0 1,598 2/21/2022
22.1.0 1,513 1/20/2022
21.12.0 907 12/20/2021
21.11.0 915 11/17/2021
21.10.0 970 10/18/2021
21.8.0 1,056 8/13/2021
21.7.0 861 7/16/2021
21.6.0 926 6/17/2021
21.5.1 922 5/18/2021
21.5.0 1,365 5/18/2021
21.4.0 1,029 4/15/2021
21.3.0 1,206 3/16/2021
21.2.0 1,137 2/16/2021
21.1.0 994 1/22/2021
20.12.0 1,192 12/19/2020
20.11.0 1,468 11/18/2020
20.10.0 1,163 10/21/2020
20.9.0 1,281 9/21/2020
20.8.0 1,079 8/24/2020
20.7.1 1,151 8/4/2020
20.7.0 1,295 7/17/2020