Метод Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments

TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&) method

Сравнивает два документа постранично. Документы сравниваются целиком. Перед сравнением текста тексты страниц документов объединяются в один текст.

static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document> &document1, const System::SharedPtr<Document> &document2, const System::SharedPtr<ComparisonOptions> &options)
ПараметрТипОписание
document1const System::SharedPtr<Document>&Первый документ.
document2const System::SharedPtr<Document>&Второй документ.
optionsconst System::SharedPtr<ComparisonOptions>&Сравнение параметры.

ReturnValue

Список изменений.

См. также

TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document>&, const System::SharedPtr<Document>&, const System::SharedPtr<ComparisonOptions>&, const System::String&) method

Сравнивает два документа постранично. Результат сохраняется в PDF‑файл. Документы сравниваются целиком. Перед сравнением текста тексты страниц документов объединяются в один текст.

static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<DiffOperation>>> Aspose::Pdf::Comparison::TextPdfComparer::CompareFlatDocuments(const System::SharedPtr<Document> &document1, const System::SharedPtr<Document> &document2, const System::SharedPtr<ComparisonOptions> &options, const System::String &resultPdfDocumentPath)
ПараметрТипОписание
document1const System::SharedPtr<Document>&Первый документ.
document2const System::SharedPtr<Document>&Второй документ.
optionsconst System::SharedPtr<ComparisonOptions>&Сравнение параметры.
resultPdfDocumentPathconst System::String&Путь к PDF‑файлу для сохранения результатов сравнения.

ReturnValue

Список изменений.

См. также