Aspose::Pdf::Facades::PdfFileEditor::Delete method

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

Deletes pages specified by number array from input file, saves as a new Pdf file.

bool Aspose::Pdf::Facades::PdfFileEditor::Delete(const System::SharedPtr<System::IO::Stream> &inputStream, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::IO::Stream> &outputStream)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Input file Stream.
pageNumberconst System::ArrayPtr<int32_t>&Index of page out of the input file.
outputStreamconst System::SharedPtr<System::IO::Stream>&Output file stream.

ReturnValue

True for success, or false.

See Also

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

Deletes specified pages from document and saves result into HttpResponse object.

bool Aspose::Pdf::Facades::PdfFileEditor::Delete(const System::SharedPtr<System::IO::Stream> &inputStream, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&Source document stream.
pageNumberconst System::ArrayPtr<int32_t>&Array of page numbers which will be deleted.
responseconst System::SharedPtr<System::Web::HttpResponse>&HttpResponse object

ReturnValue

True if operation succeded.

See Also

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

Deletes specified pages from document and stores result into HttpResponse object.

bool Aspose::Pdf::Facades::PdfFileEditor::Delete(const System::String &inputFile, const System::ArrayPtr<int32_t> &pageNumber, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypeDescription
inputFileconst System::String&Path of source file.
pageNumberconst System::ArrayPtr<int32_t>&Array of page numbers which must be deleted.
responseconst System::SharedPtr<System::Web::HttpResponse>&Response object where result document will be stored.

ReturnValue

True if operation was succeeded.

See Also

PdfFileEditor::Delete(const System::String&, const System::ArrayPtr<int32_t>&, const System::String&) method

Deletes pages specified by number array from input file, saves as a new Pdf file.

bool Aspose::Pdf::Facades::PdfFileEditor::Delete(const System::String &inputFile, const System::ArrayPtr<int32_t> &pageNumber, const System::String &outputFile)
ParameterTypeDescription
inputFileconst System::String&Input file path.
pageNumberconst System::ArrayPtr<int32_t>&Index of page out of the input file.
outputFileconst System::String&Output file path.

ReturnValue

True if operation was succeeded.

See Also