Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst метод

PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream>&, int32_t, const System::SharedPtr<System::IO::Stream>&) method

Разделяет от начала до указанного места и сохраняет переднюю часть в выходной поток.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::IO::Stream> &outputStream)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Исходный поток файла Pdf.
locationint32_tТочка разреза.
outputStreamconst System::SharedPtr<System::IO::Stream>&Поток выходного файла.

ReturnValue

True при успехе, иначе false.

Примечания

Потоки НЕ закрываются после этой операции.

См. также

PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream>&, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method

Разделяет документ от начала до указанного места и сохраняет результат в объект HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ПараметрТипОписание
inputStreamconst System::SharedPtr<System::IO::Stream>&Поток исходного документа.
locationint32_tТочка разреза.
ответconst System::SharedPtr<System::Web::HttpResponse>&Объект HttpResponse, в котором будет сохранён результат.

ReturnValue

True, если операция завершилась успешно.

См. также

PdfFileEditor::SplitFromFirst(const System::String&, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method

Разделяет документ с первой страницы до места и сохраняет результат в объекты HttpResponse.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::String &inputFile, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ПараметрТипОписание
inputFileconst System::String&Имя исходного файла.
locationint32_tТочка разбиения.
ответconst System::SharedPtr<System::Web::HttpResponse>&Объекты HttpResponse.

ReturnValue

True, если операция завершилась успешно.

См. также

PdfFileEditor::SplitFromFirst(const System::String&, int32_t, const System::String&) method

Разделяет файл Pdf с первой страницы до указанного места и сохраняет переднюю часть как новый файл.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::String &inputFile, int32_t location, const System::String &outputFile)
ПараметрТипОписание
inputFileconst System::String&Исходный файл Pdf.
locationint32_tТочка разреза.
outputFileconst System::String&Выводит файл Pdf.

ReturnValue

True при успехе, иначе false.

См. также