## PdfFileEditor::SplitToEnd(const System::SharedPtr\<System::IO::Stream\>\&, int32_t, const System::SharedPtr\<System::IO::Stream\>\&) method


Splits from specified location, and saves the rear part as a new file Stream.

```cpp
bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::IO::Stream> &outputStream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| inputStream | const System::SharedPtr\<System::IO::Stream\>\& | Source [Pdf](../../../aspose.pdf/) file Stream. |
| location | int32_t | The splitting position. |
| outputStream | const System::SharedPtr\<System::IO::Stream\>\& | Output [Pdf](../../../aspose.pdf/) file Stream. |

### ReturnValue

True for success, or false.
## Remarks



The streams are NOT closed after this operation unless CloseConcatedStreams is specified.
## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PdfFileEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileEditor::SplitToEnd(const System::SharedPtr\<System::IO::Stream\>\&, int32_t, const System::SharedPtr\<System::Web::HttpResponse\>\&) method


Splits from specified location, and saves the rear part into HttpResponse object.

```cpp
bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
```


| Parameter | Type | Description |
| --- | --- | --- |
| inputStream | const System::SharedPtr\<System::IO::Stream\>\& | Source document stream. |
| location | int32_t | Split point. |
| response | const System::SharedPtr\<System::Web::HttpResponse\>\& | HttpResponse object. |

### ReturnValue

true if splitting was successful.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [HttpResponse](../../../system.web/httpresponse/)
* Class [PdfFileEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileEditor::SplitToEnd(const System::String\&, int32_t, const System::SharedPtr\<System::Web::HttpResponse\>\&) method


Splits from specified location, and saves the rear part into HttpResponse object.

```cpp
bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::String &inputFile, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
```


| Parameter | Type | Description |
| --- | --- | --- |
| inputFile | const System::String\& | source file name. |
| location | int32_t | Split point. |
| response | const System::SharedPtr\<System::Web::HttpResponse\>\& | HttpResponse objects. |

### ReturnValue

True if operation was succeeded.

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [HttpResponse](../../../system.web/httpresponse/)
* Class [PdfFileEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfFileEditor::SplitToEnd(const System::String\&, int32_t, const System::String\&) method


Splits from location, and saves the rear part as a new file.

```cpp
bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::String &inputFile, int32_t location, const System::String &outputFile)
```


| Parameter | Type | Description |
| --- | --- | --- |
| inputFile | const System::String\& | Source [Pdf](../../../aspose.pdf/) file. |
| location | int32_t | The splitting position. |
| outputFile | const System::String\& | Output [Pdf](../../../aspose.pdf/) file path. |

### ReturnValue

True for success, or false.

## See Also

* Class [String](../../../system/string/)
* Class [PdfFileEditor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
