---
title: "Aspose::Pdf::Comparison::PdfOutputGenerator class"
url: "https://reference.aspose.com/pdf/cpp/aspose.pdf.comparison/pdfoutputgenerator/"
product: "Aspose.PDF for C++ API Reference"
description: "Aspose::Pdf::Comparison::PdfOutputGenerator class. Represents a class for generating PDF representation of texts differences in C++."
---

## PdfOutputGenerator class


Represents a class for generating PDF representation of texts differences.

```cpp
class PdfOutputGenerator : public Aspose::Pdf::Comparison::IFileOutputGenerator,
                           public Aspose::Pdf::LicenseManagement::IVentureLicenseTarget
```

## Methods

| Method | Description |
| --- | --- |
| [GenerateOutput](./generateoutput/)(const System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<DiffOperation\>\>\>\&, const System::String\&) override | Generates the output based on the differences between texts and saves it to a file. |
| [GenerateOutput](./generateoutput/)(const System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<DiffOperation\>\>\>\>\>\&, const System::String\&) override | Generates the output based on the differences between texts and saves it to a file. |
| [PdfOutputGenerator](./pdfoutputgenerator/)() | Cteates an instance of [PdfOutputGenerator](./) class. |
| [PdfOutputGenerator](./pdfoutputgenerator/)(const System::SharedPtr\<PageInfo\>\&) | Cteates an instance of [PdfOutputGenerator](./) class. |
| [PdfOutputGenerator](./pdfoutputgenerator/)(const System::SharedPtr\<OutputTextStyle\>\&) | Cteates an instance of [PdfOutputGenerator](./) class. |
| [PdfOutputGenerator](./pdfoutputgenerator/)(const System::SharedPtr\<OutputTextStyle\>\&, const System::SharedPtr\<PageInfo\>\&) | Cteates an instance of [PdfOutputGenerator](./) class. |
## See Also

* Class [IFileOutputGenerator](../ifileoutputgenerator/)
* Namespace [Aspose::Pdf::Comparison](../)
* Library [Aspose.PDF for C++](../../)
