Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst metod

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

Delar från början till angiven plats, och sparar den främre delen i utdata Stream.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::IO::Stream> &outputStream)
ParameterTypBeskrivning
inputStreamconst System::SharedPtr<System::IO::Stream>&Käll Pdf filström.
locationint32_tDelningspunkten.
outputStreamconst System::SharedPtr<System::IO::Stream>&Utdatafil Stream.

ReturnValue

True vid lyckat resultat, annars false.

Anmärkningar

Strömmarna stängs INTE efter denna operation.

Se även

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

Delar dokumentet från början till angiven plats och lagrar resultatet i HttpResponse-objekt.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypBeskrivning
inputStreamconst System::SharedPtr<System::IO::Stream>&Ström för källdokumentet.
locationint32_tDelningspunkten.
responseconst System::SharedPtr<System::Web::HttpResponse>&HttpResponse‑objekt där resultatet kommer att lagras.

ReturnValue

Sant om operationen lyckades.

Se även

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

Delar dokumentet från första sidan till platsen och sparar resultatet i HttpResponse-objekt.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::String &inputFile, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
ParameterTypBeskrivning
inputFileconst System::String&Källfilnamn.
locationint32_tDelningspunkt.
responseconst System::SharedPtr<System::Web::HttpResponse>&HttpResponse-objekt.

ReturnValue

Sant om operationen lyckades.

Se även

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

Delar Pdf fil från första sidan till angiven plats och sparar den främre delen som en ny fil.

bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst(const System::String &inputFile, int32_t location, const System::String &outputFile)
ParameterTypBeskrivning
inputFileconst System::String&Käll Pdf fil.
locationint32_tDelningspunkten.
outputFileconst System::String&Utdata Pdf fil.

ReturnValue

True vid lyckat resultat, annars false.

Se även