Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst method

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

Splits from start to specified location,and saves the front part in output Stream.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(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 point.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output file Stream.

ReturnValue

True for success, or false.

Remarks

The streams are NOT closed after this operation.

See Also

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

Splits document from start to specified location and stores result into HttpResponse object.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Stream of source document.
locationint32_tThe splitting point.
responseconst System::SharedPtr<System::Web::HttpResponse>&HttpResponse object where result will be stored.

ReturnValue

True if operation was succeeded.

See Also

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

Splits document from first page to location and saves result into HttpResponse objects.

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

Splits Pdf file from first page to specified location,and saves the front part as a new file.

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

ReturnValue

True for success, or false.

See Also