Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd method

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.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::IO::Stream> &outputStream)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Source Pdf file Stream.
locationint32_tThe splitting position.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output Pdf file Stream.

ReturnValue

True for success, or false.

Remarks

The streams are NOT closed after this operation unless CloseConcatedStreams is specified.

See Also

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.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Source document stream.
locationint32_tSplit point.
responseconst System::SharedPtr<System::Web::HttpResponse>&HttpResponse object.

ReturnValue

true if splitting was successful.

See Also

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.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::String &inputFile, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputFileconst System::String&source file name.
locationint32_tSplit point.
responseconst System::SharedPtr<System::Web::HttpResponse>&HttpResponse objects.

ReturnValue

True if operation was succeeded.

See Also

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

Splits from location, and saves the rear part as a new file.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd(const System::String &inputFile, int32_t location, const System::String &outputFile)
ParameterTypeDescription
inputFileconst System::String&Source Pdf file.
locationint32_tThe splitting position.
outputFileconst System::String&Output Pdf file path.

ReturnValue

True for success, or false.

See Also