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)
| Параметр | Тип | Описание |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Исходный поток файла Pdf. |
| location | int32_t | Точка разреза. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Поток выходного файла. |
ReturnValue
True при успехе, иначе false.
Примечания
Потоки НЕ закрываются после этой операции.
См. также
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
| Параметр | Тип | Описание |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Поток исходного документа. |
| location | int32_t | Точка разреза. |
| ответ | const System::SharedPtr<System::Web::HttpResponse>& | Объект HttpResponse, в котором будет сохранён результат. |
ReturnValue
True, если операция завершилась успешно.
См. также
- Typedef SharedPtr
- Class Stream
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
| Параметр | Тип | Описание |
|---|---|---|
| inputFile | const System::String& | Имя исходного файла. |
| location | int32_t | Точка разбиения. |
| ответ | const System::SharedPtr<System::Web::HttpResponse>& | Объекты HttpResponse. |
ReturnValue
True, если операция завершилась успешно.
См. также
- Class String
- Typedef SharedPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
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)
| Параметр | Тип | Описание |
|---|---|---|
| inputFile | const System::String& | Исходный файл Pdf. |
| location | int32_t | Точка разреза. |
| outputFile | const System::String& | Выводит файл Pdf. |
ReturnValue
True при успехе, иначе false.
См. также
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++