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

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

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

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(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>&Выходной Pdf файловый поток.

ReturnValue

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

Примечания

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

См. также

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

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

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(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::SplitToEnd(const System::String&, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method

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

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(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::SplitToEnd(const System::String&, int32_t, const System::String&) method

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

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

ReturnValue

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

См. также