Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd metod
PdfFileEditor::TrySplitToEnd(const System::SharedPtr<System::IO::Stream>&, int32_t, const System::SharedPtr<System::IO::Stream>&) method
Delar från angiven plats, och sparar den bakre delen som en ny fil Stream.
bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::IO::Stream> &outputStream)
| Parameter | Typ | Beskrivning |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Käll Pdf filström. |
| location | int32_t | Delningspositionen. |
| outputStream | const System::SharedPtr<System::IO::Stream>& | Utdata Pdf filström. |
ReturnValue
True vid lyckat resultat, annars false.
Anmärkningar
Strömmarna stängs INTE efter denna operation om inte CloseConcatedStreams anges. TrySplitToEnd metod är som SplitToEnd metod, förutom att TrySplitToEnd metod inte kastar ett undantag om operationen misslyckas.
Se även
- Typedef SharedPtr
- Class Stream
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TrySplitToEnd(const System::SharedPtr<System::IO::Stream>&, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method
Delar från angiven plats, och sparar den bakre delen i HttpResponse-objekt.
bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd(const System::SharedPtr<System::IO::Stream> &inputStream, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Typ | Beskrivning |
|---|---|---|
| inputStream | const System::SharedPtr<System::IO::Stream>& | Källdokumentström. |
| location | int32_t | Delningspunkt. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse-objekt. |
ReturnValue
Sant om operationen slutfördes framgångsrikt; annars falskt.
Anmärkningar
TrySplitToEnd metod är som SplitToEnd metod, förutom att TrySplitToEnd metod inte kastar ett undantag om operationen misslyckas.
Se även
- Typedef SharedPtr
- Class Stream
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TrySplitToEnd(const System::String&, int32_t, const System::SharedPtr<System::Web::HttpResponse>&) method
Delar från angiven plats, och sparar den bakre delen i HttpResponse-objekt.
bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd(const System::String &inputFile, int32_t location, const System::SharedPtr<System::Web::HttpResponse> &response)
| Parameter | Typ | Beskrivning |
|---|---|---|
| inputFile | const System::String& | källfilnamn. |
| location | int32_t | Delningspunkt. |
| response | const System::SharedPtr<System::Web::HttpResponse>& | HttpResponse-objekt. |
ReturnValue
Sant om operationen slutfördes framgångsrikt; annars falskt.
Anmärkningar
TrySplitToEnd metod är som SplitToEnd metod, förutom att TrySplitToEnd metod inte kastar ett undantag om operationen misslyckas.
Se även
- Class String
- Typedef SharedPtr
- Class HttpResponse
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++
PdfFileEditor::TrySplitToEnd(const System::String&, int32_t, const System::String&) method
Delar från platsen, och sparar den bakre delen som en ny fil.
bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd(const System::String &inputFile, int32_t location, const System::String &outputFile)
| Parameter | Typ | Beskrivning |
|---|---|---|
| inputFile | const System::String& | Käll Pdf fil. |
| location | int32_t | Delningspositionen. |
| outputFile | const System::String& | Utdata Pdf filsökväg. |
ReturnValue
True vid lyckat resultat, annars false.
Anmärkningar
TrySplitToEnd metod är som SplitToEnd metod, förutom att TrySplitToEnd metod inte kastar ett undantag om operationen misslyckas.
Se även
- Class String
- Class PdfFileEditor
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++