Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc. More...
#include "PdfFileEditor.h"
Inherits Aspose::Pdf::LicenseManagement::IVentureLicenseTarget.
Classes | |
class | ContentsResizeParameters |
Class for specifing page resize parameters. Allow to set the following parameters: Size of result page (width, height) in default space units or in percents of initial pages size; Left, Top, Bottom and Right margins in default space units or in percents of initial page size; Some values may be left null for automatic calculation. These values will be calculated from rest of page size after calculation explicitly specified values. For example: if page width = 100 and new page width specified 60 units then left and right margins are automatically calculated: (100 - 60) / 2 = 15. This class is used in ResizeContents method. More... | |
class | ContentsResizeValue |
Value of margin or content size specified in percents of default space units. This class is used in ContentsResizeParameters. More... | |
class | CorruptedItem |
Class which provides information about corrupted files in time of concatenation. More... | |
class | PageBreak |
Data of page break position. More... | |
Public Types | |
enum | ConcatenateCorruptedFileAction { ConcatenateCorruptedFileAction::StopWithError, ConcatenateCorruptedFileAction::ConcatenateIgnoringCorrupted, ConcatenateCorruptedFileAction::ConcatenateIgnoringCorruptedObjects } |
Action performed when corrupted file was met in concatenation process. More... | |
Public Member Functions | |
ASPOSE_PDF_SHARED_API System::String | get_ConversionLog () |
Gets log of conversion process. More... | |
ASPOSE_PDF_SHARED_API bool | get_MergeDuplicateLayers () const |
Optional contents of concatentated documents with equal names will be merged into one layer in resulstant document if this property is true. Else, layers with equal names will be save as different layers in resultant document. More... | |
ASPOSE_PDF_SHARED_API void | set_MergeDuplicateLayers (bool value) |
Optional contents of concatentated documents with equal names will be merged into one layer in resulstant document if this property is true. Else, layers with equal names will be save as different layers in resultant document. More... | |
ASPOSE_PDF_SHARED_API bool | get_CopyOutlines () const |
If true then outlines will be copied. More... | |
ASPOSE_PDF_SHARED_API void | set_CopyOutlines (bool value) |
If true then outlines will be copied. More... | |
ASPOSE_PDF_SHARED_API bool | get_CopyLogicalStructure () const |
If true then logical structure of the file is copied when concatenation is performed. More... | |
ASPOSE_PDF_SHARED_API void | set_CopyLogicalStructure (bool value) |
If true then logical structure of the file is copied when concatenation is performed. More... | |
ASPOSE_PDF_SHARED_API bool | get_MergeDuplicateOutlines () const |
If true, duplicate outlines are merged. More... | |
ASPOSE_PDF_SHARED_API void | set_MergeDuplicateOutlines (bool value) |
If true, duplicate outlines are merged. More... | |
ASPOSE_PDF_SHARED_API bool | get_PreserveUserRights () const |
If true, user rights of first document are applied to concatenated document. User rights of all other documents are ignored. More... | |
ASPOSE_PDF_SHARED_API void | set_PreserveUserRights (bool value) |
If true, user rights of first document are applied to concatenated document. User rights of all other documents are ignored. More... | |
ASPOSE_PDF_SHARED_API bool | get_IncrementalUpdates () const |
If true, incremental updates are made during concatenation. More... | |
ASPOSE_PDF_SHARED_API void | set_IncrementalUpdates (bool value) |
If true, incremental updates are made during concatenation. More... | |
ASPOSE_PDF_SHARED_API bool | get_OptimizeSize () const |
Gets optimization flag. Equal resource streams in resultant file are merged into one PDF object if this flag set. This allows to decrease resultant file size but may cause slower execution and larger memory requirements. Default value: false. More... | |
ASPOSE_PDF_SHARED_API void | set_OptimizeSize (bool value) |
Sets optimization flag. Equal resource streams in resultant file are merged into one PDF object if this flag set. This allows to decrease resultant file size but may cause slower execution and larger memory requirements. Default value: false. More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< System::SharedPtr< PdfFileEditor::CorruptedItem > > | get_CorruptedItems () |
Array of encountered problems when concatenation was performed. For every corrupted document from passed to Concatenate() function new CorruptedItem entry is created. This property may be used only when CorruptedFileAction is ConcatenateIgnoringCorrupted. More... | |
ASPOSE_PDF_SHARED_API PdfFileEditor::ConcatenateCorruptedFileAction | get_CorruptedFileAction () const |
This property defines behavior when concatenating process met corrupted file. Possible values are: StopWithError and ConcatenateIgnoringCorrupted. More... | |
ASPOSE_PDF_SHARED_API void | set_CorruptedFileAction (PdfFileEditor::ConcatenateCorruptedFileAction value) |
This property defines behavior when concatenating process met corrupted file. Possible values are: StopWithError and ConcatenateIgnoringCorrupted. More... | |
ASPOSE_PDF_SHARED_API System::String | get_OwnerPassword () const |
Sets owner's password if the source input Pdf file is encrypted. This property is not implemented yet. More... | |
ASPOSE_PDF_SHARED_API void | set_OwnerPassword (System::String value) |
Sets owner's password if the source input Pdf file is encrypted. This property is not implemented yet. More... | |
ASPOSE_PDF_SHARED_API bool | get_AllowConcatenateExceptions () |
If set to true, exceptions are thrown if error occured. Else excetion are not thrown and methods return false if failed. More... | |
ASPOSE_PDF_SHARED_API void | set_AllowConcatenateExceptions (bool value) |
If set to true, exceptions are thrown if error occured. Else excetion are not thrown and methods return false if failed. More... | |
ASPOSE_PDF_SHARED_API void | set_ConvertTo (PdfFormat value) |
Sets PDF file format. Result file will be saved in specified file format. If this property is not specified then file will be save in default PDF format without conversion. More... | |
ASPOSE_PDF_SHARED_API bool | get_CloseConcatenatedStreams () const |
If set to true, streams are closed after operation. More... | |
ASPOSE_PDF_SHARED_API void | set_CloseConcatenatedStreams (bool value) |
If set to true, streams are closed after operation. More... | |
ASPOSE_PDF_SHARED_API System::String | get_UniqueSuffix () const |
Format of the suffix which is added to field name to make it unique when forms are concatenated. This string must contain NUM% substring which will be replaced with numbers. For example if UniqueSuffix = "ABC%NUM%" then for field "fieldName" names will be: fieldNameABC1, fieldNameABC2, fieldNameABC3 etc. More... | |
ASPOSE_PDF_SHARED_API void | set_UniqueSuffix (System::String value) |
Format of the suffix which is added to field name to make it unique when forms are concatenated. This string must contain NUM% substring which will be replaced with numbers. For example if UniqueSuffix = "ABC%NUM%" then for field "fieldName" names will be: fieldNameABC1, fieldNameABC2, fieldNameABC3 etc. More... | |
ASPOSE_PDF_SHARED_API bool | get_KeepActions () const |
If true actions will be copied from source documents. Defaulkt value : true. More... | |
ASPOSE_PDF_SHARED_API void | set_KeepActions (bool value) |
If true actions will be copied from source documents. Defaulkt value : true. More... | |
ASPOSE_PDF_SHARED_API bool | get_KeepFieldsUnique () const |
If true then field names will be made unique when forms are concatenated. Suffixes will be added to field names, suffix template may be specified in UniqueSuffix property. More... | |
ASPOSE_PDF_SHARED_API void | set_KeepFieldsUnique (bool value) |
If true then field names will be made unique when forms are concatenated. Suffixes will be added to field names, suffix template may be specified in UniqueSuffix property. More... | |
ASPOSE_PDF_SHARED_API bool | get_RemoveSignatures () const |
If true, all signatures will be removed from fields (fields will remain); otherwise, you can get invalid signatures. More... | |
ASPOSE_PDF_SHARED_API void | set_RemoveSignatures (bool value) |
If true, all signatures will be removed from fields (fields will remain); otherwise, you can get invalid signatures. More... | |
ASPOSE_PDF_SHARED_API System::Exception | get_LastException () const |
Gets last occured exception. May be used to check the reason of failure. More... | |
ASPOSE_PDF_SHARED_API bool | get_UseDiskBuffer () |
If this option used then destination document will be saved on disk periodically and further concatenation will appllied to it as incremental updates. More... | |
ASPOSE_PDF_SHARED_API void | set_UseDiskBuffer (bool value) |
If this option used then destination document will be saved on disk periodically and further concatenation will appllied to it as incremental updates. More... | |
ASPOSE_PDF_SHARED_API int32_t | get_ConcatenationPacketSize () const |
Number of documents concatenated before new incremental update was made during concatenation when UseDiskBuffer is set to true. More... | |
ASPOSE_PDF_SHARED_API void | set_ConcatenationPacketSize (int32_t value) |
Number of documents concatenated before new incremental update was made during concatenation when UseDiskBuffer is set to true. More... | |
ASPOSE_PDF_SHARED_API Aspose::Pdf::ContentDisposition | get_ContentDisposition () const |
Gets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline. More... | |
ASPOSE_PDF_SHARED_API void | set_ContentDisposition (Aspose::Pdf::ContentDisposition value) |
Sets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline. More... | |
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::SaveOptions > | get_SaveOptions () const |
Gets save options when result is stored as HttpResponse. Default value: PdfSaveOptions. More... | |
ASPOSE_PDF_SHARED_API void | set_SaveOptions (System::SharedPtr< Aspose::Pdf::SaveOptions > value) |
Sets save options when result is stored as HttpResponse. Default value: PdfSaveOptions. More... | |
ASPOSE_PDF_SHARED_API System::String | get_AttachmentName () const |
Gets name of attachment when result of operation is stored into HttpResponse objects as attachment. More... | |
ASPOSE_PDF_SHARED_API void | set_AttachmentName (System::String value) |
Sets name of attachment when result of operation is stored into HttpResponse objects as attachment. More... | |
ASPOSE_PDF_SHARED_API | PdfFileEditor () |
PdfFileEditor constructor. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::String firstInputFile, System::String secInputFile, System::String outputFile) |
Concatenates two files. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::SharedPtr< System::IO::Stream > firstInputStream, System::SharedPtr< System::IO::Stream > secInputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Concatenates two files. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::ArrayPtr< System::SharedPtr< Document >> src, System::SharedPtr< Document > dest) |
Concatenates documents. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::ArrayPtr< System::String > inputFiles, System::String outputFile) |
Concatenates files into one file. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::ArrayPtr< System::SharedPtr< System::IO::Stream >> inputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Concatenates files More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::String firstInputFile, System::String secInputFile, System::String blankPageFile, System::String outputFile) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::SharedPtr< System::IO::Stream > firstInputStream, System::SharedPtr< System::IO::Stream > secInputStream, System::SharedPtr< System::IO::Stream > blankPageStream, System::SharedPtr< System::IO::Stream > outputStream) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage. More... | |
ASPOSE_PDF_SHARED_API bool | Append (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< System::SharedPtr< System::IO::Stream >> portStreams, int32_t startPage, int32_t endPage, System::SharedPtr< System::IO::Stream > outputStream) |
Appends pages, which are chosen from array of documents in portStreams. The result document includes firstInputFile and all portStreams documents pages in the range startPage to endPage. More... | |
ASPOSE_PDF_SHARED_API bool | Append (System::String inputFile, System::ArrayPtr< System::String > portFiles, int32_t startPage, int32_t endPage, System::String outputFile) |
Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage. More... | |
ASPOSE_PDF_SHARED_API bool | Append (System::String inputFile, System::String portFile, int32_t startPage, int32_t endPage, System::String outputFile) |
Appends pages, which are chosen from portFile within the range from startPage to endPage, in portFile at the end of firstInputFile. More... | |
ASPOSE_PDF_SHARED_API bool | Append (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > portStream, int32_t startPage, int32_t endPage, System::SharedPtr< System::IO::Stream > outputStream) |
Appends pages,which are chosen from portStream within the range from startPage to endPage, in portStream at the end of firstInputStream. More... | |
ASPOSE_PDF_SHARED_API bool | Insert (System::String inputFile, int32_t insertLocation, System::String portFile, int32_t startPage, int32_t endPage, System::String outputFile) |
Inserts pages from an other file into the Pdf file at a position. More... | |
ASPOSE_PDF_SHARED_API bool | Insert (System::SharedPtr< System::IO::Stream > inputStream, int32_t insertLocation, System::SharedPtr< System::IO::Stream > portStream, int32_t startPage, int32_t endPage, System::SharedPtr< System::IO::Stream > outputStream) |
Inserts pages from an other file into the input Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Insert (System::String inputFile, int32_t insertLocation, System::String portFile, System::ArrayPtr< int32_t > pageNumber, System::String outputFile) |
Inserts pages from an other file into the input Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Insert (System::SharedPtr< System::IO::Stream > inputStream, int32_t insertLocation, System::SharedPtr< System::IO::Stream > portStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::IO::Stream > outputStream) |
Inserts pages from an other file into the input Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Delete (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::String outputFile) |
Deletes pages specified by number array from input file, saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Delete (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::IO::Stream > outputStream) |
Deletes pages specified by number array from input file, saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Extract (System::String inputFile, int32_t startPage, int32_t endPage, System::String outputFile) |
Extracts pages from input file,saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Extract (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::String outputFile) |
Extracts pages specified by number array, saves as a new PDF file. More... | |
ASPOSE_PDF_SHARED_API bool | Extract (System::SharedPtr< System::IO::Stream > inputStream, int32_t startPage, int32_t endPage, System::SharedPtr< System::IO::Stream > outputStream) |
Extracts pages from input file,saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | Extract (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::IO::Stream > outputStream) |
Extracts pages specified by number array, saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | SplitFromFirst (System::String inputFile, int32_t location, System::String outputFile) |
Splits Pdf file from first page to specified location,and saves the front part as a new file. More... | |
ASPOSE_PDF_SHARED_API bool | SplitFromFirst (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::IO::Stream > outputStream) |
Splits from start to specified location,and saves the front part in output Stream. More... | |
ASPOSE_PDF_SHARED_API bool | SplitToEnd (System::String inputFile, int32_t location, System::String outputFile) |
Splits from location, and saves the rear part as a new file. More... | |
ASPOSE_PDF_SHARED_API bool | SplitToEnd (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::IO::Stream > outputStream) |
Splits from specified location, and saves the rear part as a new file Stream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::String inputFile, System::String outputFile) |
Makes booklet from the input file to output file. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Makes booklet from the InputStream to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::String inputFile, System::String outputFile, System::SharedPtr< PageSize > pageSize) |
Makes booklet from the inputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize) |
Makes booklet from the input stream and save result into output stream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::String inputFile, System::String outputFile, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes customized booklet from the firstInputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes customized booklet from the firstInputStream to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::String inputFile, System::String outputFile, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes customized booklet from the firstInputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes booklet from the firstInputStream to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::String inputFile, System::String outputFile, int32_t x, int32_t y) |
Makes N-Up document from the firstInputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, int32_t x, int32_t y) |
Makes N-Up document from the input stream and saves result into output stream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize) |
Makes N-Up document from the first input stream to output stream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::String firstInputFile, System::String secondInputFile, System::String outputFile) |
Makes N-Up document from the two input PDF files to outputFile. Each page of outputFile will contain two pages, one page is from the first input file and another is from the second input file. The two pages are piled up horizontally. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::SharedPtr< System::IO::Stream > firstInputStream, System::SharedPtr< System::IO::Stream > secondInputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Makes N-Up document from the two input PDF streams to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::ArrayPtr< System::String > inputFiles, System::String outputFile, bool isSidewise) |
Makes N-Up document from the multi input PDF files to outputFile. Each page of outputFile will contain multi pages, which are combination with pages in the input files of the same page number. The multi pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::ArrayPtr< System::SharedPtr< System::IO::Stream >> inputStreams, System::SharedPtr< System::IO::Stream > outputStream, bool isSidewise) |
Makes N-Up document from the multi input PDF streams to outputStream. Each page of outputStream will contain multi pages, which are combination with pages in the input streams of the same page number. The multi-pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::String inputFile, System::String outputFile, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize) |
Makes N-Up document from the input file to outputFile. More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< System::SharedPtr< System::IO::MemoryStream > > | SplitToPages (System::String inputFile) |
Splits the PDF file into single-page documents. More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< System::SharedPtr< System::IO::MemoryStream > > | SplitToPages (System::SharedPtr< System::IO::Stream > inputStream) |
Splits the Pdf file into single-page documents. More... | |
ASPOSE_PDF_SHARED_API void | SplitToPages (System::String inputFile, System::String fileNameTemplate) |
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate. More... | |
ASPOSE_PDF_SHARED_API void | SplitToPages (System::SharedPtr< System::IO::Stream > inputStream, System::String fileNameTemplate) |
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate. More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< System::SharedPtr< System::IO::MemoryStream > > | SplitToBulks (System::String inputFile, System::ArrayPtr< System::ArrayPtr< int32_t >> numberOfPage) |
Splits the Pdf file into several documents.The documents can be single-page or multi-pages. More... | |
ASPOSE_PDF_SHARED_API System::ArrayPtr< System::SharedPtr< System::IO::MemoryStream > > | SplitToBulks (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< System::ArrayPtr< int32_t >> numberOfPage) |
Splits the Pdf file into several documents.The documents can be single-page or multi-pages. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContents (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters) |
Resizes contents of pages of the document. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContents (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, double newWidth, double newHeight) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContentsPct (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, double newWidth, double newHeight) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New contents size is specified in percents. More... | |
ASPOSE_PDF_SHARED_API bool | AddMargins (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, double leftMargin, double rightMargin, double topMargin, double bottomMargin) |
Resizes page contents and add specifed margins. Margins are specified in default space units. More... | |
ASPOSE_PDF_SHARED_API bool | AddMarginsPct (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, double leftMargin, double rightMargin, double topMargin, double bottomMargin) |
Resizes page contents and add specified margins. Margins are specified in percents of intitial page size. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContents (System::String source, System::String destination, System::ArrayPtr< int32_t > pages, double newWidth, double newHeight) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContentsPct (System::String source, System::String destination, System::ArrayPtr< int32_t > pages, double newWidth, double newHeight) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New contents size is specified in percents. More... | |
ASPOSE_PDF_SHARED_API bool | AddMargins (System::String source, System::String destination, System::ArrayPtr< int32_t > pages, double leftMargin, double rightMargin, double topMargin, double bottomMargin) |
Resizes page contents and add specifed margins. Margins are specified in default space units. More... | |
ASPOSE_PDF_SHARED_API bool | AddMarginsPct (System::String source, System::String destination, System::ArrayPtr< int32_t > pages, double leftMargin, double rightMargin, double topMargin, double bottomMargin) |
Resizes page contents and add specified margins. Margins are specified in percents of intitial page size. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContents (System::String source, System::String destination, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. More... | |
ASPOSE_PDF_SHARED_API void | ResizeContents (System::SharedPtr< Document > source, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters) |
Resizes pages of document. Blank margins are added around of shrinked page. More... | |
ASPOSE_PDF_SHARED_API void | ResizeContents (System::SharedPtr< Document > source, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters) |
Resizes pages of document. Blank margins are added around of shrinked page. More... | |
ASPOSE_PDF_SHARED_API void | AddPageBreak (System::SharedPtr< Document > src, System::SharedPtr< Document > dest, System::ArrayPtr< System::SharedPtr< PdfFileEditor::PageBreak >> pageBreaks) |
Adds page breaks into document pages. More... | |
ASPOSE_PDF_SHARED_API void | AddPageBreak (System::String src, System::String dest, System::ArrayPtr< System::SharedPtr< PdfFileEditor::PageBreak >> pageBreaks) |
Adds page breaks into document pages. More... | |
ASPOSE_PDF_SHARED_API void | AddPageBreak (System::SharedPtr< System::IO::Stream > src, System::SharedPtr< System::IO::Stream > dest, System::ArrayPtr< System::SharedPtr< PdfFileEditor::PageBreak >> pageBreaks) |
Adds page breaks into document pages. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::String firstInputFile, System::String secInputFile, System::String outputFile) |
Concatenates two files. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::ArrayPtr< System::SharedPtr< Document >> src, System::SharedPtr< Document > dest) |
Concatenates documents. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::ArrayPtr< System::String > inputFiles, System::String outputFile) |
Concatenates files into one file. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::ArrayPtr< System::SharedPtr< System::IO::Stream >> inputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Concatenates files More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::String firstInputFile, System::String secInputFile, System::String blankPageFile, System::String outputFile) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::SharedPtr< System::IO::Stream > firstInputStream, System::SharedPtr< System::IO::Stream > secInputStream, System::SharedPtr< System::IO::Stream > blankPageStream, System::SharedPtr< System::IO::Stream > outputStream) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage. More... | |
ASPOSE_PDF_SHARED_API bool | TryAppend (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< System::SharedPtr< System::IO::Stream >> portStreams, int32_t startPage, int32_t endPage, System::SharedPtr< System::IO::Stream > outputStream) |
Appends pages, which are chosen from array of documents in portStreams. The result document includes firstInputFile and all portStreams documents pages in the range startPage to endPage. More... | |
ASPOSE_PDF_SHARED_API bool | TryAppend (System::String inputFile, System::ArrayPtr< System::String > portFiles, int32_t startPage, int32_t endPage, System::String outputFile) |
Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage. More... | |
ASPOSE_PDF_SHARED_API bool | TryInsert (System::String inputFile, int32_t insertLocation, System::String portFile, System::ArrayPtr< int32_t > pageNumber, System::String outputFile) |
Inserts pages from an other file into the input Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | TryInsert (System::SharedPtr< System::IO::Stream > inputStream, int32_t insertLocation, System::SharedPtr< System::IO::Stream > portStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::IO::Stream > outputStream) |
Inserts pages from an other file into the input Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | TryDelete (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::String outputFile) |
Deletes pages specified by number array from input file, saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | TryDelete (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::IO::Stream > outputStream) |
Deletes pages specified by number array from input file, saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | TryExtract (System::String inputFile, int32_t startPage, int32_t endPage, System::String outputFile) |
Extracts pages from input file,saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | TryExtract (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::String outputFile) |
Extracts pages specified by number array, saves as a new PDF file. More... | |
ASPOSE_PDF_SHARED_API bool | TryExtract (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::IO::Stream > outputStream) |
Extracts pages specified by number array, saves as a new Pdf file. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitFromFirst (System::String inputFile, int32_t location, System::String outputFile) |
Splits Pdf file from first page to specified location,and saves the front part as a new file. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitFromFirst (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::IO::Stream > outputStream) |
Splits from start to specified location,and saves the front part in output Stream. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitToEnd (System::String inputFile, int32_t location, System::String outputFile) |
Splits from location, and saves the rear part as a new file. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitToEnd (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::IO::Stream > outputStream) |
Splits from specified location, and saves the rear part as a new file Stream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::String inputFile, System::String outputFile) |
Makes booklet from the input file to output file. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Makes booklet from the InputStream to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::String inputFile, System::String outputFile, System::SharedPtr< PageSize > pageSize) |
Makes booklet from the inputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize) |
Makes booklet from the input stream and save result into output stream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::String inputFile, System::String outputFile, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes customized booklet from the firstInputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes customized booklet from the firstInputStream to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::String inputFile, System::String outputFile, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes customized booklet from the firstInputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages) |
Makes booklet from the firstInputStream to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::String inputFile, System::String outputFile, int32_t x, int32_t y) |
Makes N-Up document from the firstInputFile to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, int32_t x, int32_t y) |
Makes N-Up document from the input stream and saves result into output stream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< System::IO::Stream > outputStream, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize) |
Makes N-Up document from the first input stream to output stream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::String firstInputFile, System::String secondInputFile, System::String outputFile) |
Makes N-Up document from the two input PDF files to outputFile. Each page of outputFile will contain two pages, one page is from the first input file and another is from the second input file. The two pages are piled up horizontally. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::SharedPtr< System::IO::Stream > firstInputStream, System::SharedPtr< System::IO::Stream > secondInputStream, System::SharedPtr< System::IO::Stream > outputStream) |
Makes N-Up document from the two input PDF streams to outputStream. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::ArrayPtr< System::String > inputFiles, System::String outputFile, bool isSidewise) |
Makes N-Up document from the multi input PDF files to outputFile. Each page of outputFile will contain multi pages, which are combination with pages in the input files of the same page number. The multi pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::ArrayPtr< System::SharedPtr< System::IO::Stream >> inputStreams, System::SharedPtr< System::IO::Stream > outputStream, bool isSidewise) |
Makes N-Up document from the multi input PDF streams to outputStream. Each page of outputStream will contain multi pages, which are combination with pages in the input streams of the same page number. The multi-pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::String inputFile, System::String outputFile, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize) |
Makes N-Up document from the input file to outputFile. More... | |
ASPOSE_PDF_SHARED_API bool | TryResizeContents (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters) |
Resizes contents of pages of the document. More... | |
ASPOSE_PDF_SHARED_API bool | TryResizeContents (System::SharedPtr< System::IO::Stream > source, System::SharedPtr< System::IO::Stream > destination, System::ArrayPtr< int32_t > pages, double newWidth, double newHeight) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units. More... | |
ASPOSE_PDF_SHARED_API bool | TryResizeContents (System::String source, System::String destination, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::ArrayPtr< System::String > inputFiles, System::SharedPtr< System::Web::HttpResponse > response) |
Concatenates files and saves reslt into HttpResposnse object. More... | |
ASPOSE_PDF_SHARED_API bool | Concatenate (System::ArrayPtr< System::SharedPtr< System::IO::Stream >> inputStream, System::SharedPtr< System::Web::HttpResponse > response) |
Concatenates files and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | Append (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< System::SharedPtr< System::IO::Stream >> portStreams, int32_t startPage, int32_t endPage, System::SharedPtr< System::Web::HttpResponse > response) |
Appends documents to source document and saves result into response object. More... | |
ASPOSE_PDF_SHARED_API bool | Append (System::String inputFile, System::ArrayPtr< System::String > portFiles, int32_t startPage, int32_t endPage, System::SharedPtr< System::Web::HttpResponse > response) |
Appends documents to source document and saves result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | Insert (System::String inputFile, int32_t insertLocation, System::String portFile, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Inserts contents of file into source file and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | Insert (System::SharedPtr< System::IO::Stream > inputStream, int32_t insertLocation, System::SharedPtr< System::IO::Stream > portStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Inserts document into other document and stores result into response object. More... | |
ASPOSE_PDF_SHARED_API bool | Delete (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Deletes specified pages from document and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | Delete (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Deletes specified pages from document and saves result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | Extract (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Extracts specified pages form source file and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | Extract (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Extracts specified pages from source file and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | SplitFromFirst (System::String inputFile, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits document from first page to location and saves result into HttpResponse objects. More... | |
ASPOSE_PDF_SHARED_API bool | SplitFromFirst (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits document from start to specified location and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | SplitToEnd (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits from specified location, and saves the rear part into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | SplitToEnd (System::String inputFile, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits from specified location, and saves the rear part into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::String inputFile, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages, System::SharedPtr< System::Web::HttpResponse > response) |
Makes booklet from source file and stores result into HttpResponse objects. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages, System::SharedPtr< System::Web::HttpResponse > response) |
Make booklet from PDF file and stores it into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::String inputFile, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes booklet from source file and stores result into HttpResponse objects. More... | |
ASPOSE_PDF_SHARED_API bool | MakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes booklet from source file and stores result into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::SharedPtr< System::IO::Stream > inputStream, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::String inputFile, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::String inputFile, int32_t x, int32_t y, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | MakeNUp (System::SharedPtr< System::IO::Stream > inputStream, int32_t x, int32_t y, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContents (System::String source, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters, System::SharedPtr< System::Web::HttpResponse > response) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | ResizeContents (System::SharedPtr< System::IO::Stream > source, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters, System::SharedPtr< System::Web::HttpResponse > response) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::ArrayPtr< System::String > inputFiles, System::SharedPtr< System::Web::HttpResponse > response) |
Concatenates files and saves reslt into HttpResposnse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryConcatenate (System::ArrayPtr< System::SharedPtr< System::IO::Stream >> inputStream, System::SharedPtr< System::Web::HttpResponse > response) |
Concatenates files and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryAppend (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< System::SharedPtr< System::IO::Stream >> portStreams, int32_t startPage, int32_t endPage, System::SharedPtr< System::Web::HttpResponse > response) |
Appends documents to source document and saves result into response object. More... | |
ASPOSE_PDF_SHARED_API bool | TryAppend (System::String inputFile, System::ArrayPtr< System::String > portFiles, int32_t startPage, int32_t endPage, System::SharedPtr< System::Web::HttpResponse > response) |
Appends documents to source document and saves result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryInsert (System::String inputFile, int32_t insertLocation, System::String portFile, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Inserts contents of file into source file and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryInsert (System::SharedPtr< System::IO::Stream > inputStream, int32_t insertLocation, System::SharedPtr< System::IO::Stream > portStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Inserts document into other document and stores result into response object. More... | |
ASPOSE_PDF_SHARED_API bool | TryDelete (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Deletes specified pages from document and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryDelete (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Deletes specified pages from document and saves result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryExtract (System::SharedPtr< System::IO::Stream > inputStream, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Extracts specified pages form source file and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryExtract (System::String inputFile, System::ArrayPtr< int32_t > pageNumber, System::SharedPtr< System::Web::HttpResponse > response) |
Extracts specified pages from source file and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitFromFirst (System::String inputFile, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits document from first page to location and saves result into HttpResponse objects. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitFromFirst (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits document from start to specified location and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitToEnd (System::SharedPtr< System::IO::Stream > inputStream, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits from specified location, and saves the rear part into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TrySplitToEnd (System::String inputFile, int32_t location, System::SharedPtr< System::Web::HttpResponse > response) |
Splits from specified location, and saves the rear part into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::String inputFile, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages, System::SharedPtr< System::Web::HttpResponse > response) |
Makes booklet from source file and stores result into HttpResponse objects. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< PageSize > pageSize, System::ArrayPtr< int32_t > leftPages, System::ArrayPtr< int32_t > rightPages, System::SharedPtr< System::Web::HttpResponse > response) |
Make booklet from PDF file and stores it into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::String inputFile, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes booklet from source file and stores result into HttpResponse objects. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeBooklet (System::SharedPtr< System::IO::Stream > inputStream, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes booklet from source file and stores result into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::String inputFile, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::SharedPtr< System::IO::Stream > inputStream, int32_t x, int32_t y, System::SharedPtr< PageSize > pageSize, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::String inputFile, int32_t x, int32_t y, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | TryMakeNUp (System::SharedPtr< System::IO::Stream > inputStream, int32_t x, int32_t y, System::SharedPtr< System::Web::HttpResponse > response) |
Makes N-up document and stores result into HttpResponse. More... | |
ASPOSE_PDF_SHARED_API bool | TryResizeContents (System::String source, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters, System::SharedPtr< System::Web::HttpResponse > response) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object. More... | |
ASPOSE_PDF_SHARED_API bool | TryResizeContents (System::SharedPtr< System::IO::Stream > source, System::ArrayPtr< int32_t > pages, System::SharedPtr< PdfFileEditor::ContentsResizeParameters > parameters, System::SharedPtr< System::Web::HttpResponse > response) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object. More... | |
Protected Member Functions | |
bool | get__IsObjectLicensed () |
Gets licensed state of the system. Returns true is system works in licensed mode and false otherwise. More... | |
Static Protected Attributes | |
static const System::String | E_EMPTY_PAGE_RANGE |
static const System::String | E_SMALL_PAGE_RANGE |
static const System::String | E_WRONG_PAGE_RANGE |
Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc.
Action performed when corrupted file was met in concatenation process.
ASPOSE_PDF_SHARED_API Aspose::Pdf::Facades::PdfFileEditor::PdfFileEditor | ( | ) |
PdfFileEditor constructor.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::AddMargins | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | leftMargin, | ||
double | rightMargin, | ||
double | topMargin, | ||
double | bottomMargin | ||
) |
Resizes page contents and add specifed margins. Margins are specified in default space units.
source | Stream which contains source document. |
destination | Stream where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
leftMargin | Left margin. |
rightMargin | Right margin. |
topMargin | Top margin. |
bottomMargin | Bottom margin. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::AddMargins | ( | System::String | source, |
System::String | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | leftMargin, | ||
double | rightMargin, | ||
double | topMargin, | ||
double | bottomMargin | ||
) |
Resizes page contents and add specifed margins. Margins are specified in default space units.
source | Path to source document. |
destination | Path where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
leftMargin | Left margin. |
rightMargin | Right margin. |
topMargin | Top margin. |
bottomMargin | Bottom margin. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::AddMarginsPct | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | leftMargin, | ||
double | rightMargin, | ||
double | topMargin, | ||
double | bottomMargin | ||
) |
Resizes page contents and add specified margins. Margins are specified in percents of intitial page size.
source | Stream which contains source document. |
destination | Stream where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
leftMargin | Left margin in percents of initial page size. |
rightMargin | Right margin in percents of initial page size. |
topMargin | Top margin in percents of initial page size. |
bottomMargin | Bottom margin in percents of initial page size. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::AddMarginsPct | ( | System::String | source, |
System::String | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | leftMargin, | ||
double | rightMargin, | ||
double | topMargin, | ||
double | bottomMargin | ||
) |
Resizes page contents and add specified margins. Margins are specified in percents of intitial page size.
source | Path to source document. |
destination | Path where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
leftMargin | Left margin in percents of initial page size. |
rightMargin | Right margin in percents of initial page size. |
topMargin | Top margin in percents of initial page size. |
bottomMargin | Bottom margin in percents of initial page size. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::AddPageBreak | ( | System::SharedPtr< Document > | src, |
System::SharedPtr< Document > | dest, | ||
System::ArrayPtr< System::SharedPtr< PdfFileEditor::PageBreak >> | pageBreaks | ||
) |
Adds page breaks into document pages.
src | Source document. |
dest | Destination document. |
pageBreaks | Array of PageBreak objects which describe places of page breaks. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::AddPageBreak | ( | System::String | src, |
System::String | dest, | ||
System::ArrayPtr< System::SharedPtr< PdfFileEditor::PageBreak >> | pageBreaks | ||
) |
Adds page breaks into document pages.
src | Path to source document. |
dest | Path to destination document. |
pageBreaks | Array of PageBreak object describing pages and places where page break will be added. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::AddPageBreak | ( | System::SharedPtr< System::IO::Stream > | src, |
System::SharedPtr< System::IO::Stream > | dest, | ||
System::ArrayPtr< System::SharedPtr< PdfFileEditor::PageBreak >> | pageBreaks | ||
) |
Adds page breaks into document pages.
src | Source which contains source document. |
dest | Source where destination document will be saved. |
pageBreaks | Array of PageBreak object describing pages and places where page break will be added. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Append | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | portStreams, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Appends pages, which are chosen from array of documents in portStreams. The result document includes firstInputFile and all portStreams documents pages in the range startPage to endPage.
inputStream | Input Pdf stream. |
portStreams | Documents to copy pages from. |
startPage | Page starts in portStreams documents. |
endPage | Page ends in portStreams documents . |
outputStream | Output Pdf stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Append | ( | System::String | inputFile, |
System::ArrayPtr< System::String > | portFiles, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::String | outputFile | ||
) |
Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage.
inputFile | Input Pdf file. |
portFiles | Documents to copy pages from. |
startPage | Page starts in portFiles documents. |
endPage | Page ends in portFiles documents . |
outputFile | Output Pdf document. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Append | ( | System::String | inputFile, |
System::String | portFile, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::String | outputFile | ||
) |
Appends pages, which are chosen from portFile within the range from startPage to endPage, in portFile at the end of firstInputFile.
inputFile | Input Pdf file. |
portFile | Pages from Pdf file. |
startPage | Page starts in portFile. |
endPage | Page ends in portFile. |
outputFile | Output Pdf document. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Append | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | portStream, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Appends pages,which are chosen from portStream within the range from startPage to endPage, in portStream at the end of firstInputStream.
inputStream | Input file Stream. |
portStream | Pages from Pdf file Stream. |
startPage | Page starts in portFile Stream. |
endPage | Page ends in portFile Stream. |
outputStream | Output Pdf file Stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Append | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | portStreams, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Appends documents to source document and saves result into response object.
inputStream | Stream which contains source document. |
portStreams | Array of streams with documents to be appended. |
startPage | Start page of appended page. |
endPage | End page of appended pages. |
response | Response object where document will be saved. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Append | ( | System::String | inputFile, |
System::ArrayPtr< System::String > | portFiles, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Appends documents to source document and saves result into HttpResponse object.
inputFile | Name of file containing source document. |
portFiles | Array of file names containing appended documents. |
startPage | Start page of appended pages. |
endPage | End page of appended pages. |
response | Response object where document will be saved. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::String | firstInputFile, |
System::String | secInputFile, | ||
System::String | outputFile | ||
) |
Concatenates two files.
firstInputFile | First file to concatenate. |
secInputFile | Second file to concatenate. |
outputFile | Output file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::SharedPtr< System::IO::Stream > | firstInputStream, |
System::SharedPtr< System::IO::Stream > | secInputStream, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Concatenates two files.
firstInputStream | Stream of first file. |
secInputStream | Stream of second file. |
outputStream | Stream where result file will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::ArrayPtr< System::SharedPtr< Document >> | src, |
System::SharedPtr< Document > | dest | ||
) |
Concatenates documents.
src | Array of source documents. |
dest | Destination document. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::ArrayPtr< System::String > | inputFiles, |
System::String | outputFile | ||
) |
Concatenates files into one file.
inputFiles | Array of files to concatenate. |
outputFile | Name of output file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Concatenates files
inputStream | Array of streams to be concatenated. |
outputStream | Stream where result file will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::String | firstInputFile, |
System::String | secInputFile, | ||
System::String | blankPageFile, | ||
System::String | outputFile | ||
) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage.
firstInputFile | First file. |
secInputFile | Second file. |
blankPageFile | PDF file with blank page. |
outputFile | Result file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::SharedPtr< System::IO::Stream > | firstInputStream, |
System::SharedPtr< System::IO::Stream > | secInputStream, | ||
System::SharedPtr< System::IO::Stream > | blankPageStream, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage.
firstInputStream | The first Pdf Stream. |
secInputStream | The second Pdf Stream. |
blankPageStream | The Pdf Stream with blank page. |
outputStream | Output Pdf Stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::ArrayPtr< System::String > | inputFiles, |
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Concatenates files and saves reslt into HttpResposnse object.
inputFiles | Array of files to concatenate. |
response | Response object. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Concatenate | ( | System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | inputStream, |
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Concatenates files and stores result into HttpResponse object.
inputStream | Streams array which contain files to concatenate. |
response | Response object/ |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Delete | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::String | outputFile | ||
) |
Deletes pages specified by number array from input file, saves as a new Pdf file.
inputFile | Input file path. |
pageNumber | Index of page out of the input file. |
outputFile | Output file path. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Delete | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Deletes pages specified by number array from input file, saves as a new Pdf file.
inputStream | Input file Stream. |
pageNumber | Index of page out of the input file. |
outputStream | Output file stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Delete | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Deletes specified pages from document and stores result into HttpResponse object.
inputFile | Path of source file. |
pageNumber | Array of page numbers which must be deleted. |
response | Response object where result document will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Delete | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Deletes specified pages from document and saves result into HttpResponse object.
inputStream | Source document stream. |
pageNumber | Array of page numbers which will be deleted. |
response | HttpResponse object |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Extract | ( | System::String | inputFile, |
int32_t | startPage, | ||
int32_t | endPage, | ||
System::String | outputFile | ||
) |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Extract | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::String | outputFile | ||
) |
Extracts pages specified by number array, saves as a new PDF file.
inputFile | Input file path. |
pageNumber | Index of page out of the input file. |
outputFile | Output file path. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Extract | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Extract | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Extracts pages specified by number array, saves as a new Pdf file.
inputStream | Input file Stream. |
pageNumber | Index of page out of the input file. |
outputStream | Output file stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Extract | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Extracts specified pages form source file and stores result into HttpResponse object.
inputStream | Stream of source document. |
pageNumber | Array of page numbers which will be extracted. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Extract | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Extracts specified pages from source file and stores result into HttpResponse object.
inputFile | Source file path. |
pageNumber | Array of page numbers which will be extracted. |
response | HttpResponse object where result will be stored. |
|
protected |
Gets licensed state of the system. Returns true is system works in licensed mode and false otherwise.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_AllowConcatenateExceptions | ( | ) |
If set to true, exceptions are thrown if error occured. Else excetion are not thrown and methods return false if failed.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Facades::PdfFileEditor::get_AttachmentName | ( | ) | const |
Gets name of attachment when result of operation is stored into HttpResponse objects as attachment.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_CloseConcatenatedStreams | ( | ) | const |
If set to true, streams are closed after operation.
ASPOSE_PDF_SHARED_API int32_t Aspose::Pdf::Facades::PdfFileEditor::get_ConcatenationPacketSize | ( | ) | const |
Number of documents concatenated before new incremental update was made during concatenation when UseDiskBuffer is set to true.
ASPOSE_PDF_SHARED_API Aspose::Pdf::ContentDisposition Aspose::Pdf::Facades::PdfFileEditor::get_ContentDisposition | ( | ) | const |
Gets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Facades::PdfFileEditor::get_ConversionLog | ( | ) |
Gets log of conversion process.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_CopyLogicalStructure | ( | ) | const |
If true then logical structure of the file is copied when concatenation is performed.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_CopyOutlines | ( | ) | const |
If true then outlines will be copied.
ASPOSE_PDF_SHARED_API PdfFileEditor::ConcatenateCorruptedFileAction Aspose::Pdf::Facades::PdfFileEditor::get_CorruptedFileAction | ( | ) | const |
This property defines behavior when concatenating process met corrupted file. Possible values are: StopWithError and ConcatenateIgnoringCorrupted.
ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<PdfFileEditor::CorruptedItem> > Aspose::Pdf::Facades::PdfFileEditor::get_CorruptedItems | ( | ) |
Array of encountered problems when concatenation was performed. For every corrupted document from passed to Concatenate() function new CorruptedItem entry is created. This property may be used only when CorruptedFileAction is ConcatenateIgnoringCorrupted.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_IncrementalUpdates | ( | ) | const |
If true, incremental updates are made during concatenation.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_KeepActions | ( | ) | const |
If true actions will be copied from source documents. Defaulkt value : true.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_KeepFieldsUnique | ( | ) | const |
If true then field names will be made unique when forms are concatenated. Suffixes will be added to field names, suffix template may be specified in UniqueSuffix property.
ASPOSE_PDF_SHARED_API System::Exception Aspose::Pdf::Facades::PdfFileEditor::get_LastException | ( | ) | const |
Gets last occured exception. May be used to check the reason of failure.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_MergeDuplicateLayers | ( | ) | const |
Optional contents of concatentated documents with equal names will be merged into one layer in resulstant document if this property is true. Else, layers with equal names will be save as different layers in resultant document.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_MergeDuplicateOutlines | ( | ) | const |
If true, duplicate outlines are merged.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_OptimizeSize | ( | ) | const |
Gets optimization flag. Equal resource streams in resultant file are merged into one PDF object if this flag set. This allows to decrease resultant file size but may cause slower execution and larger memory requirements. Default value: false.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Facades::PdfFileEditor::get_OwnerPassword | ( | ) | const |
Sets owner's password if the source input Pdf file is encrypted. This property is not implemented yet.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_PreserveUserRights | ( | ) | const |
If true, user rights of first document are applied to concatenated document. User rights of all other documents are ignored.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_RemoveSignatures | ( | ) | const |
If true, all signatures will be removed from fields (fields will remain); otherwise, you can get invalid signatures.
ASPOSE_PDF_SHARED_API System::SharedPtr<Aspose::Pdf::SaveOptions> Aspose::Pdf::Facades::PdfFileEditor::get_SaveOptions | ( | ) | const |
Gets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
ASPOSE_PDF_SHARED_API System::String Aspose::Pdf::Facades::PdfFileEditor::get_UniqueSuffix | ( | ) | const |
Format of the suffix which is added to field name to make it unique when forms are concatenated. This string must contain NUM% substring which will be replaced with numbers. For example if UniqueSuffix = "ABC%NUM%" then for field "fieldName" names will be: fieldNameABC1, fieldNameABC2, fieldNameABC3 etc.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::get_UseDiskBuffer | ( | ) |
If this option used then destination document will be saved on disk periodically and further concatenation will appllied to it as incremental updates.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Insert | ( | System::String | inputFile, |
int32_t | insertLocation, | ||
System::String | portFile, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::String | outputFile | ||
) |
Inserts pages from an other file into the Pdf file at a position.
inputFile | Input Pdf file. |
insertLocation | Position in input file. |
portFile | The porting Pdf file. |
startPage | Start position in portFile. |
endPage | End position in portFile. |
outputFile | Output Pdf file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Insert | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | insertLocation, | ||
System::SharedPtr< System::IO::Stream > | portStream, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Inserts pages from an other file into the input Pdf file.
inputStream | Input Stream of Pdf file. |
insertLocation | Insert position in input file. |
portStream | Stream of Pdf file for pages. |
startPage | From which page to start. |
endPage | To which page to end. |
outputStream | Output Stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Insert | ( | System::String | inputFile, |
int32_t | insertLocation, | ||
System::String | portFile, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::String | outputFile | ||
) |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Insert | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | insertLocation, | ||
System::SharedPtr< System::IO::Stream > | portStream, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Inserts pages from an other file into the input Pdf file.
inputStream | Input Stream of Pdf file. |
insertLocation | Insert position in input file. |
portStream | Stream of Pdf file for pages. |
pageNumber | The page number of the ported in portFile. |
outputStream | Output Stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Insert | ( | System::String | inputFile, |
int32_t | insertLocation, | ||
System::String | portFile, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Inserts contents of file into source file and stores result into HttpResponse object.
inputFile | Source file name. |
insertLocation | Page number where second file will be inserted. |
portFile | Path to file which will be inserted. |
pageNumber | Array of page numbers in source file wihich will be inserted. |
response | Response object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::Insert | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | insertLocation, | ||
System::SharedPtr< System::IO::Stream > | portStream, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Inserts document into other document and stores result into response object.
inputStream | Stream with source document |
insertLocation | Location where other document will be inserted. |
portStream | Document to be inserted. |
pageNumber | Array of page numbers in second document which will be inserted. |
response | Response object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::String | inputFile, |
System::String | outputFile | ||
) |
Makes booklet from the input file to output file.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Makes booklet from the InputStream to outputStream.
inputStream | Input pdf stream. |
outputStream | output pdf stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::String | inputFile, |
System::String | outputFile, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes booklet from the inputFile to outputFile.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
pageSize | The page size of the output pdf file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes booklet from the input stream and save result into output stream.
inputStream | Input PDF stream. |
outputStream | output pdf stream. |
pageSize | The page size of the output pdf file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::String | inputFile, |
System::String | outputFile, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes customized booklet from the firstInputFile to outputFile.
inputFile | The input file. |
outputFile | Output pdf file path and name. |
leftPages | The left pages of the booklet. |
rightPages | The right pages of the booklet. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes customized booklet from the firstInputStream to outputStream.
inputStream | The input stream. |
outputStream | output pdf stream. |
leftPages | The left pages. |
rightPages | The right pages. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::String | inputFile, |
System::String | outputFile, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes customized booklet from the firstInputFile to outputFile.
inputFile | The input file. |
outputFile | Output pdf file path and name. |
pageSize | The page size of the output pdf file. |
leftPages | The left pages. |
rightPages | The right pages. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes booklet from the firstInputStream to outputStream.
inputStream | The input stream. |
outputStream | output pdf stream. |
pageSize | The page size of the output pdf file. |
leftPages | The left pages. |
rightPages | The right pages. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::String | inputFile, |
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes booklet from source file and stores result into HttpResponse objects.
inputFile | Source file path. |
pageSize | Desired page size. |
leftPages | Aray of page numbers to be placed in left. |
rightPages | Array of page numbers to be placed in right. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Make booklet from PDF file and stores it into HttpResponse.
inputStream | Input document stream. |
pageSize | Desired page size. |
leftPages | Array of page numbers which will be placed in left. |
rightPages | Array of page numbers which will b eplaced in right. |
response | HttpResponse object. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::String | inputFile, |
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes booklet from source file and stores result into HttpResponse objects.
inputFile | Source file path. |
pageSize | Desired page size in output file. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes booklet from source file and stores result into HttpResponse.
inputStream | Input document stream. |
pageSize | Desired page size in output file. |
response | Respose object where resut will be saved. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::String | inputFile, |
System::String | outputFile, | ||
int32_t | x, | ||
int32_t | y | ||
) |
Makes N-Up document from the firstInputFile to outputFile.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
x | Number of columns. |
y | Number of rows. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
int32_t | x, | ||
int32_t | y | ||
) |
Makes N-Up document from the input stream and saves result into output stream.
inputStream | Input pdf stream. |
outputStream | Output pdf stream. |
x | Number of columns. |
y | Number of rows. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes N-Up document from the first input stream to output stream.
inputStream | Input pdf stream. |
outputStream | Output pdf stream. |
x | Number of columns. |
y | Number of rows. |
pageSize | The page size of the output pdf file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::String | firstInputFile, |
System::String | secondInputFile, | ||
System::String | outputFile | ||
) |
Makes N-Up document from the two input PDF files to outputFile. Each page of outputFile will contain two pages, one page is from the first input file and another is from the second input file. The two pages are piled up horizontally.
firstInputFile | first input file. |
secondInputFile | second input file. |
outputFile | Output pdf file path and name. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::SharedPtr< System::IO::Stream > | firstInputStream, |
System::SharedPtr< System::IO::Stream > | secondInputStream, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Makes N-Up document from the two input PDF streams to outputStream.
firstInputStream | first input stream. |
secondInputStream | second input stream. |
outputStream | Output pdf stream. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::ArrayPtr< System::String > | inputFiles, |
System::String | outputFile, | ||
bool | isSidewise | ||
) |
Makes N-Up document from the multi input PDF files to outputFile. Each page of outputFile will contain multi pages, which are combination with pages in the input files of the same page number. The multi pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false.
inputFiles | Input Pdf files. |
outputFile | Output pdf file path and name. |
isSidewise | Piled up way, true for horizontally and false for vertically. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | inputStreams, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
bool | isSidewise | ||
) |
Makes N-Up document from the multi input PDF streams to outputStream. Each page of outputStream will contain multi pages, which are combination with pages in the input streams of the same page number. The multi-pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false.
inputStreams | Input Pdf streams. |
outputStream | Output pdf stream. |
isSidewise | Piled up way, true for horizontally and false for vertically. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::String | inputFile, |
System::String | outputFile, | ||
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes N-Up document from the input file to outputFile.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
x | Number of columns. |
y | Number of rows. |
pageSize | The page size of the output pdf file. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse object.
inputStream | Stream of source document. |
x | Number of columns. |
y | Number of rows. |
pageSize | Page size in result file. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::String | inputFile, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse object.
inputFile | Path to source file. |
x | Number of columns. |
y | Number of rows. |
pageSize | Page size in result file. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::String | inputFile, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse.
inputFile | Source file name. |
x | Number of columns. |
y | Number of rows. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::MakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse.
inputStream | Stream of input document. |
x | Number of columns. |
y | Number of rows. |
response | HttpResponse where result will be stored. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters | ||
) |
Resizes contents of pages of the document.
source | Stream with source document. |
destination | Stream with the destination document. |
pages | Array of page indexes. |
parameters | Resize parameters. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | newWidth, | ||
double | newHeight | ||
) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units.
source | Stream which contains source document. |
destination | Stream where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
newWidth | New width of page contents in default space units. |
newHeight | New height of page contents in default space units. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::String | source, |
System::String | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | newWidth, | ||
double | newHeight | ||
) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units.
source | Path to source document. |
destination | Path where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
newWidth | New width of page contents in default space units. |
newHeight | New height of page contents in default space units. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::String | source, |
System::String | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters | ||
) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page.
source | Source document path. |
destination | Destination document path. |
pages | Array of page indexes (page index starts from 1). |
parameters | Parameters of page resize. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::SharedPtr< Document > | source, |
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters | ||
) |
Resizes pages of document. Blank margins are added around of shrinked page.
source | Source document. |
pages | List of page indexes. |
parameters | Resize parameters. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::SharedPtr< Document > | source, |
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters | ||
) |
Resizes pages of document. Blank margins are added around of shrinked page.
source | Source document. |
parameters | Resize parameters. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::String | source, |
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
source | Path to source file. |
pages | Array of pages to be resized. |
parameters | Resize parameters. |
response | HttpResponse object where result is saved. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContents | ( | System::SharedPtr< System::IO::Stream > | source, |
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
source | Stream of source file. |
pages | Array of pages to be resized. |
parameters | Resize parameters. |
response | HttpResponse object where result is saved. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContentsPct | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | newWidth, | ||
double | newHeight | ||
) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New contents size is specified in percents.
source | Stream which contains source document. |
destination | Stream where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
newWidth | New width of page contents in percents. |
newHeight | New height of page contents in percetns. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::ResizeContentsPct | ( | System::String | source, |
System::String | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | newWidth, | ||
double | newHeight | ||
) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New contents size is specified in percents.
source | Path to source document. |
destination | Path where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
newWidth | New width of page contents in percents. |
newHeight | New height of page contents in percetns. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_AllowConcatenateExceptions | ( | bool | value | ) |
If set to true, exceptions are thrown if error occured. Else excetion are not thrown and methods return false if failed.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_AttachmentName | ( | System::String | value | ) |
Sets name of attachment when result of operation is stored into HttpResponse objects as attachment.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_CloseConcatenatedStreams | ( | bool | value | ) |
If set to true, streams are closed after operation.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_ConcatenationPacketSize | ( | int32_t | value | ) |
Number of documents concatenated before new incremental update was made during concatenation when UseDiskBuffer is set to true.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_ContentDisposition | ( | Aspose::Pdf::ContentDisposition | value | ) |
Sets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_ConvertTo | ( | PdfFormat | value | ) |
Sets PDF file format. Result file will be saved in specified file format. If this property is not specified then file will be save in default PDF format without conversion.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_CopyLogicalStructure | ( | bool | value | ) |
If true then logical structure of the file is copied when concatenation is performed.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_CopyOutlines | ( | bool | value | ) |
If true then outlines will be copied.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_CorruptedFileAction | ( | PdfFileEditor::ConcatenateCorruptedFileAction | value | ) |
This property defines behavior when concatenating process met corrupted file. Possible values are: StopWithError and ConcatenateIgnoringCorrupted.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_IncrementalUpdates | ( | bool | value | ) |
If true, incremental updates are made during concatenation.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_KeepActions | ( | bool | value | ) |
If true actions will be copied from source documents. Defaulkt value : true.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_KeepFieldsUnique | ( | bool | value | ) |
If true then field names will be made unique when forms are concatenated. Suffixes will be added to field names, suffix template may be specified in UniqueSuffix property.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_MergeDuplicateLayers | ( | bool | value | ) |
Optional contents of concatentated documents with equal names will be merged into one layer in resulstant document if this property is true. Else, layers with equal names will be save as different layers in resultant document.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_MergeDuplicateOutlines | ( | bool | value | ) |
If true, duplicate outlines are merged.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_OptimizeSize | ( | bool | value | ) |
Sets optimization flag. Equal resource streams in resultant file are merged into one PDF object if this flag set. This allows to decrease resultant file size but may cause slower execution and larger memory requirements. Default value: false.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_OwnerPassword | ( | System::String | value | ) |
Sets owner's password if the source input Pdf file is encrypted. This property is not implemented yet.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_PreserveUserRights | ( | bool | value | ) |
If true, user rights of first document are applied to concatenated document. User rights of all other documents are ignored.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_RemoveSignatures | ( | bool | value | ) |
If true, all signatures will be removed from fields (fields will remain); otherwise, you can get invalid signatures.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_SaveOptions | ( | System::SharedPtr< Aspose::Pdf::SaveOptions > | value | ) |
Sets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_UniqueSuffix | ( | System::String | value | ) |
Format of the suffix which is added to field name to make it unique when forms are concatenated. This string must contain NUM% substring which will be replaced with numbers. For example if UniqueSuffix = "ABC%NUM%" then for field "fieldName" names will be: fieldNameABC1, fieldNameABC2, fieldNameABC3 etc.
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::set_UseDiskBuffer | ( | bool | value | ) |
If this option used then destination document will be saved on disk periodically and further concatenation will appllied to it as incremental updates.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst | ( | System::String | inputFile, |
int32_t | location, | ||
System::String | outputFile | ||
) |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Splits from start to specified location,and saves the front part in output Stream.
inputStream | Source Pdf file Stream. |
location | The splitting point. |
outputStream | Output file Stream. |
The streams are NOT closed after this operation.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst | ( | System::String | inputFile, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits document from first page to location and saves result into HttpResponse objects.
inputFile | Source file name. |
location | Split point. |
response | HttpResponse objects. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitFromFirst | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits document from start to specified location and stores result into HttpResponse object.
inputStream | Stream of source document. |
location | The splitting point. |
response | HttpResponse object where result will be stored. |
ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream> > Aspose::Pdf::Facades::PdfFileEditor::SplitToBulks | ( | System::String | inputFile, |
System::ArrayPtr< System::ArrayPtr< int32_t >> | numberOfPage | ||
) |
Splits the Pdf file into several documents.The documents can be single-page or multi-pages.
inputFile | Input PDF file. |
numberOfPage | Array which contains array of double elements, which is start and end pages of document. |
ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream> > Aspose::Pdf::Facades::PdfFileEditor::SplitToBulks | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< System::ArrayPtr< int32_t >> | numberOfPage | ||
) |
Splits the Pdf file into several documents.The documents can be single-page or multi-pages.
inputStream | Input PDF stream. |
numberOfPage | The start page and the end page of each document. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd | ( | System::String | inputFile, |
int32_t | location, | ||
System::String | outputFile | ||
) |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Splits from specified location, and saves the rear part as a new file Stream.
inputStream | Source Pdf file Stream. |
location | The splitting position. |
outputStream | Output Pdf file Stream. |
The streams are NOT closed after this operation unless CloseConcatedStreams is specified.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits from specified location, and saves the rear part into HttpResponse object.
inputStream | Source document stream. |
location | Split point. |
response | HttpResponse object. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::SplitToEnd | ( | System::String | inputFile, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits from specified location, and saves the rear part into HttpResponse object.
inputFile | source file name. |
location | Split point. |
response | HttpResponse objects. |
ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream> > Aspose::Pdf::Facades::PdfFileEditor::SplitToPages | ( | System::String | inputFile | ) |
Splits the PDF file into single-page documents.
inputFile | Input PDF file name. |
ASPOSE_PDF_SHARED_API System::ArrayPtr<System::SharedPtr<System::IO::MemoryStream> > Aspose::Pdf::Facades::PdfFileEditor::SplitToPages | ( | System::SharedPtr< System::IO::Stream > | inputStream | ) |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::SplitToPages | ( | System::String | inputFile, |
System::String | fileNameTemplate | ||
) |
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
inputFile | Input file name. |
fileNameTemplate | Template of resultant file name. Must contain NUM% which is replaced with page number. For example, if c:/dir/pageNUM%.pdf is specified, resultant files will have the following names: c:/dir/page1.pdf, c:/dir/page2.pdf etc. |
ASPOSE_PDF_SHARED_API void Aspose::Pdf::Facades::PdfFileEditor::SplitToPages | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::String | fileNameTemplate | ||
) |
Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
inputStream | Stream of the soruce document. |
fileNameTemplate | Template of resultant file name. Must contain NUM% which is replaced with page number. For example, if c:/dir/pageNUM%.pdf is specified, resultant files will have the following names: c:/dir/page1.pdf, c:/dir/page2.pdf etc. |
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryAppend | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | portStreams, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Appends pages, which are chosen from array of documents in portStreams. The result document includes firstInputFile and all portStreams documents pages in the range startPage to endPage.
inputStream | Input Pdf stream. |
portStreams | Documents to copy pages from. |
startPage | Page starts in portStreams documents. |
endPage | Page ends in portStreams documents . |
outputStream | Output Pdf stream. |
The TryAppend method is like the Append method, except the TryAppend method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryAppend | ( | System::String | inputFile, |
System::ArrayPtr< System::String > | portFiles, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::String | outputFile | ||
) |
Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage.
inputFile | Input Pdf file. |
portFiles | Documents to copy pages from. |
startPage | Page starts in portFiles documents. |
endPage | Page ends in portFiles documents . |
outputFile | Output Pdf document. |
The TryAppend method is like the Append method, except the TryAppend method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryAppend | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | portStreams, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Appends documents to source document and saves result into response object.
inputStream | Stream which contains source document. |
portStreams | Array of streams with documents to be appended. |
startPage | Start page of appended page. |
endPage | End page of appended pages. |
response | Response object where document will be saved. |
The TryAppend method is like the Append method, except the TryAppend method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryAppend | ( | System::String | inputFile, |
System::ArrayPtr< System::String > | portFiles, | ||
int32_t | startPage, | ||
int32_t | endPage, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Appends documents to source document and saves result into HttpResponse object.
inputFile | Name of file containing source document. |
portFiles | Array of file names containing appended documents. |
startPage | Start page of appended pages. |
endPage | End page of appended pages. |
response | Response object where document will be saved. |
The TryAppend method is like the Append method, except the TryAppend method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::String | firstInputFile, |
System::String | secInputFile, | ||
System::String | outputFile | ||
) |
Concatenates two files.
firstInputFile | First file to concatenate. |
secInputFile | Second file to concatenate. |
outputFile | Output file. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::ArrayPtr< System::SharedPtr< Document >> | src, |
System::SharedPtr< Document > | dest | ||
) |
Concatenates documents.
src | Array of source documents. |
dest | Destination document. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::ArrayPtr< System::String > | inputFiles, |
System::String | outputFile | ||
) |
Concatenates files into one file.
inputFiles | Array of files to concatenate. |
outputFile | Name of output file. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Concatenates files
inputStream | Array of streams to be concatenated. |
outputStream | Stream where result file will be stored. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::String | firstInputFile, |
System::String | secInputFile, | ||
System::String | blankPageFile, | ||
System::String | outputFile | ||
) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage.
firstInputFile | First file. |
secInputFile | Second file. |
blankPageFile | PDF file with blank page. |
outputFile | Result file. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::SharedPtr< System::IO::Stream > | firstInputStream, |
System::SharedPtr< System::IO::Stream > | secInputStream, | ||
System::SharedPtr< System::IO::Stream > | blankPageStream, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Merges two Pdf documents into a new Pdf document with pages in alternate ways and fill the blank places with blank pages. e.g.: document1 has 5 pages: p1, p2, p3, p4, p5. document2 has 3 pages: p1', p2', p3'. Merging the two Pdf document will produce the result document with pages:p1, p1', p2, p2', p3, p3', p4, blankpage, p5, blankpage.
firstInputStream | The first Pdf Stream. |
secInputStream | The second Pdf Stream. |
blankPageStream | The Pdf Stream with blank page. |
outputStream | Output Pdf Stream. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::ArrayPtr< System::String > | inputFiles, |
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Concatenates files and saves reslt into HttpResposnse object.
inputFiles | Array of files to concatenate. |
response | Response object. |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryConcatenate | ( | System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | inputStream, |
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Concatenates files and stores result into HttpResponse object.
inputStream | Streams array which contain files to concatenate. |
response | Response object/ |
The TryConcatenate method is like the Concatenate method, except the TryConcatenate method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryDelete | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::String | outputFile | ||
) |
Deletes pages specified by number array from input file, saves as a new Pdf file.
inputFile | Input file path. |
pageNumber | Index of page out of the input file. |
outputFile | Output file path. |
The TryDelete method is like the Delete method, except the TryDelete method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryDelete | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Deletes pages specified by number array from input file, saves as a new Pdf file.
inputStream | Input file Stream. |
pageNumber | Index of page out of the input file. |
outputStream | Output file stream. |
The TryDelete method is like the Delete method, except the TryDelete method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryDelete | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Deletes specified pages from document and stores result into HttpResponse object.
inputFile | Path of source file. |
pageNumber | Array of page numbers which must be deleted. |
response | Response object where result document will be stored. |
The TryDelete method is like the Delete method, except the TryDelete method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryDelete | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Deletes specified pages from document and saves result into HttpResponse object.
inputStream | Source document stream. |
pageNumber | Array of page numbers which will be deleted. |
response | HttpResponse object |
The TryDelete method is like the Delete method, except the TryDelete method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryExtract | ( | System::String | inputFile, |
int32_t | startPage, | ||
int32_t | endPage, | ||
System::String | outputFile | ||
) |
Extracts pages from input file,saves as a new Pdf file.
inputFile | Input Pdf file path. |
startPage | Start page number. |
endPage | End page number. |
outputFile | Output Pdf file path. |
The TryExtract method is like the Extract method, except the TryExtract method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryExtract | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::String | outputFile | ||
) |
Extracts pages specified by number array, saves as a new PDF file.
inputFile | Input file path. |
pageNumber | Index of page out of the input file. |
outputFile | Output file path. |
The TryExtract method is like the Extract method, except the TryExtract method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryExtract | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Extracts pages specified by number array, saves as a new Pdf file.
inputStream | Input file Stream. |
pageNumber | Index of page out of the input file. |
outputStream | Output file stream. |
The TryExtract method is like the Extract method, except the TryExtract method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryExtract | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Extracts specified pages form source file and stores result into HttpResponse object.
inputStream | Stream of source document. |
pageNumber | Array of page numbers which will be extracted. |
response | HttpResponse object where result will be stored. |
The TryExtract method is like the Extract method, except the TryExtract method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryExtract | ( | System::String | inputFile, |
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Extracts specified pages from source file and stores result into HttpResponse object.
inputFile | Source file path. |
pageNumber | Array of page numbers which will be extracted. |
response | HttpResponse object where result will be stored. |
The TryExtract method is like the Extract method, except the TryExtract method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryInsert | ( | System::String | inputFile, |
int32_t | insertLocation, | ||
System::String | portFile, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::String | outputFile | ||
) |
Inserts pages from an other file into the input Pdf file.
inputFile | Input Pdf file. |
insertLocation | Insert position in input file. |
portFile | Pages from the Pdf file. |
pageNumber | The page number of the ported in portFile. |
outputFile | Output Pdf file. |
The TryInsert method is like the Insert method, except the TryInsert method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryInsert | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | insertLocation, | ||
System::SharedPtr< System::IO::Stream > | portStream, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Inserts pages from an other file into the input Pdf file.
inputStream | Input Stream of Pdf file. |
insertLocation | Insert position in input file. |
portStream | Stream of Pdf file for pages. |
pageNumber | The page number of the ported in portFile. |
outputStream | Output Stream. |
The TryInsert method is like the Insert method, except the TryInsert method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryInsert | ( | System::String | inputFile, |
int32_t | insertLocation, | ||
System::String | portFile, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Inserts contents of file into source file and stores result into HttpResponse object.
inputFile | Source file name. |
insertLocation | Page number where second file will be inserted. |
portFile | Path to file which will be inserted. |
pageNumber | Array of page numbers in source file wihich will be inserted. |
response | Response object where result will be stored. |
The TryInsert method is like the Insert method, except the TryInsert method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryInsert | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | insertLocation, | ||
System::SharedPtr< System::IO::Stream > | portStream, | ||
System::ArrayPtr< int32_t > | pageNumber, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Inserts document into other document and stores result into response object.
inputStream | Stream with source document |
insertLocation | Location where other document will be inserted. |
portStream | Document to be inserted. |
pageNumber | Array of page numbers in second document which will be inserted. |
response | Response object where result will be stored. |
The TryInsert method is like the Insert method, except the TryInsert method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::String | inputFile, |
System::String | outputFile | ||
) |
Makes booklet from the input file to output file.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Makes booklet from the InputStream to outputStream.
inputStream | Input pdf stream. |
outputStream | output pdf stream. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::String | inputFile, |
System::String | outputFile, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes booklet from the inputFile to outputFile.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
pageSize | The page size of the output pdf file. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes booklet from the input stream and save result into output stream.
inputStream | Input PDF stream. |
outputStream | output pdf stream. |
pageSize | The page size of the output pdf file. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::String | inputFile, |
System::String | outputFile, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes customized booklet from the firstInputFile to outputFile.
inputFile | The input file. |
outputFile | Output pdf file path and name. |
leftPages | The left pages of the booklet. |
rightPages | The right pages of the booklet. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes customized booklet from the firstInputStream to outputStream.
inputStream | The input stream. |
outputStream | output pdf stream. |
leftPages | The left pages. |
rightPages | The right pages. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::String | inputFile, |
System::String | outputFile, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes customized booklet from the firstInputFile to outputFile.
inputFile | The input file. |
outputFile | Output pdf file path and name. |
pageSize | The page size of the output pdf file. |
leftPages | The left pages. |
rightPages | The right pages. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages | ||
) |
Makes booklet from the firstInputStream to outputStream.
inputStream | The input stream. |
outputStream | output pdf stream. |
pageSize | The page size of the output pdf file. |
leftPages | The left pages. |
rightPages | The right pages. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::String | inputFile, |
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes booklet from source file and stores result into HttpResponse objects.
inputFile | Source file path. |
pageSize | Desired page size. |
leftPages | Aray of page numbers to be placed in left. |
rightPages | Array of page numbers to be placed in right. |
response | HttpResponse object where result will be stored. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< PageSize > | pageSize, | ||
System::ArrayPtr< int32_t > | leftPages, | ||
System::ArrayPtr< int32_t > | rightPages, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Make booklet from PDF file and stores it into HttpResponse.
inputStream | Input document stream. |
pageSize | Desired page size. |
leftPages | Array of page numbers which will be placed in left. |
rightPages | Array of page numbers which will b eplaced in right. |
response | HttpResponse object. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::String | inputFile, |
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes booklet from source file and stores result into HttpResponse objects.
inputFile | Source file path. |
pageSize | Desired page size in output file. |
response | HttpResponse object where result will be stored. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeBooklet | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes booklet from source file and stores result into HttpResponse.
inputStream | Input document stream. |
pageSize | Desired page size in output file. |
response | Respose object where resut will be saved. |
The TryMakeBooklet method is like the MakeBooklet method, except the TryMakeBooklet method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::String | inputFile, |
System::String | outputFile, | ||
int32_t | x, | ||
int32_t | y | ||
) |
Makes N-Up document from the firstInputFile to outputFile.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
x | Number of columns. |
y | Number of rows. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
int32_t | x, | ||
int32_t | y | ||
) |
Makes N-Up document from the input stream and saves result into output stream.
inputStream | Input pdf stream. |
outputStream | Output pdf stream. |
x | Number of columns. |
y | Number of rows. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes N-Up document from the first input stream to output stream.
inputStream | Input pdf stream. |
outputStream | Output pdf stream. |
x | Number of columns. |
y | Number of rows. |
pageSize | The page size of the output pdf file. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::String | firstInputFile, |
System::String | secondInputFile, | ||
System::String | outputFile | ||
) |
Makes N-Up document from the two input PDF files to outputFile. Each page of outputFile will contain two pages, one page is from the first input file and another is from the second input file. The two pages are piled up horizontally.
firstInputFile | first input file. |
secondInputFile | second input file. |
outputFile | Output pdf file path and name. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::SharedPtr< System::IO::Stream > | firstInputStream, |
System::SharedPtr< System::IO::Stream > | secondInputStream, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Makes N-Up document from the two input PDF streams to outputStream.
firstInputStream | first input stream. |
secondInputStream | second input stream. |
outputStream | Output pdf stream. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::ArrayPtr< System::String > | inputFiles, |
System::String | outputFile, | ||
bool | isSidewise | ||
) |
Makes N-Up document from the multi input PDF files to outputFile. Each page of outputFile will contain multi pages, which are combination with pages in the input files of the same page number. The multi pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false.
inputFiles | Input Pdf files. |
outputFile | Output pdf file path and name. |
isSidewise | Piled up way, true for horizontally and false for vertically. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::ArrayPtr< System::SharedPtr< System::IO::Stream >> | inputStreams, |
System::SharedPtr< System::IO::Stream > | outputStream, | ||
bool | isSidewise | ||
) |
Makes N-Up document from the multi input PDF streams to outputStream. Each page of outputStream will contain multi pages, which are combination with pages in the input streams of the same page number. The multi-pages piled up horizontally if isSidewise is true and piled up vertically if isSidewise is false.
inputStreams | Input Pdf streams. |
outputStream | Output pdf stream. |
isSidewise | Piled up way, true for horizontally and false for vertically. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::String | inputFile, |
System::String | outputFile, | ||
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize | ||
) |
Makes N-Up document from the input file to outputFile.
inputFile | Input pdf file path and name. |
outputFile | Output pdf file path and name. |
x | Number of columns. |
y | Number of rows. |
pageSize | The page size of the output pdf file. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::String | inputFile, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse object.
inputFile | Path to source file. |
x | Number of columns. |
y | Number of rows. |
pageSize | Page size in result file. |
response | HttpResponse object where result will be stored. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< PageSize > | pageSize, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse object.
inputStream | Stream of source document. |
x | Number of columns. |
y | Number of rows. |
pageSize | Page size in result file. |
response | HttpResponse object where result will be stored. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::String | inputFile, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse.
inputFile | Source file name. |
x | Number of columns. |
y | Number of rows. |
response | HttpResponse object where result will be stored. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryMakeNUp | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | x, | ||
int32_t | y, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Makes N-up document and stores result into HttpResponse.
inputStream | Stream of input document. |
x | Number of columns. |
y | Number of rows. |
response | HttpResponse where result will be stored. |
The TryMakeNUp method is like the MakeNUp method, except the TryMakeNUp method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryResizeContents | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters | ||
) |
Resizes contents of pages of the document.
source | Stream with source document. |
destination | Stream with the destination document. |
pages | Array of page indexes. |
parameters | Resize parameters. |
The TryResizeContents method is like the ResizeContents method, except the TryResizeContents method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryResizeContents | ( | System::SharedPtr< System::IO::Stream > | source, |
System::SharedPtr< System::IO::Stream > | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
double | newWidth, | ||
double | newHeight | ||
) |
Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units.
source | Stream which contains source document. |
destination | Stream where resultant document will be saved. |
pages | Array of page indexes. If null then all document pages will be processed. |
newWidth | New width of page contents in default space units. |
newHeight | New height of page contents in default space units. |
The TryResizeContents method is like the ResizeContents method, except the TryResizeContents method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryResizeContents | ( | System::String | source, |
System::String | destination, | ||
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters | ||
) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page.
source | Source document path. |
destination | Destination document path. |
pages | Array of page indexes (page index starts from 1). |
parameters | Parameters of page resize. |
The TryResizeContents method is like the ResizeContents method, except the TryResizeContents method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryResizeContents | ( | System::String | source, |
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
source | Path to source file. |
pages | Array of pages to be resized. |
parameters | Resize parameters. |
response | HttpResponse object where result is saved. |
The TryResizeContents method is like the ResizeContents method, except the TryResizeContents method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TryResizeContents | ( | System::SharedPtr< System::IO::Stream > | source, |
System::ArrayPtr< int32_t > | pages, | ||
System::SharedPtr< PdfFileEditor::ContentsResizeParameters > | parameters, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
source | Stream of source file. |
pages | Array of pages to be resized. |
parameters | Resize parameters. |
response | HttpResponse object where result is saved. |
The TryResizeContents method is like the ResizeContents method, except the TryResizeContents method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitFromFirst | ( | System::String | inputFile, |
int32_t | location, | ||
System::String | outputFile | ||
) |
Splits Pdf file from first page to specified location,and saves the front part as a new file.
The TrySplitFromFirst method is like the SplitFromFirst method, except the TrySplitFromFirst method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitFromFirst | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Splits from start to specified location,and saves the front part in output Stream.
inputStream | Source Pdf file Stream. |
location | The splitting point. |
outputStream | Output file Stream. |
The streams are NOT closed after this operation. The TrySplitFromFirst method is like the SplitFromFirst method, except the TrySplitFromFirst method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitFromFirst | ( | System::String | inputFile, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits document from first page to location and saves result into HttpResponse objects.
inputFile | Source file name. |
location | Split point. |
response | HttpResponse objects. |
The TrySplitFromFirst method is like the SplitFromFirst method, except the TrySplitFromFirst method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitFromFirst | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits document from start to specified location and stores result into HttpResponse object.
inputStream | Stream of source document. |
location | The splitting point. |
response | HttpResponse object where result will be stored. |
The TrySplitFromFirst method is like the SplitFromFirst method, except the TrySplitFromFirst method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd | ( | System::String | inputFile, |
int32_t | location, | ||
System::String | outputFile | ||
) |
Splits from location, and saves the rear part as a new file.
inputFile | Source Pdf file. |
location | The splitting position. |
outputFile | Output Pdf file path. |
The TrySplitToEnd method is like the SplitToEnd method, except the TrySplitToEnd method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::IO::Stream > | outputStream | ||
) |
Splits from specified location, and saves the rear part as a new file Stream.
inputStream | Source Pdf file Stream. |
location | The splitting position. |
outputStream | Output Pdf file Stream. |
The streams are NOT closed after this operation unless CloseConcatedStreams is specified. The TrySplitToEnd method is like the SplitToEnd method, except the TrySplitToEnd method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd | ( | System::SharedPtr< System::IO::Stream > | inputStream, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits from specified location, and saves the rear part into HttpResponse object.
inputStream | Source document stream. |
location | Split point. |
response | HttpResponse object. |
The TrySplitToEnd method is like the SplitToEnd method, except the TrySplitToEnd method does not throw an exception if the operation fails.
ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Facades::PdfFileEditor::TrySplitToEnd | ( | System::String | inputFile, |
int32_t | location, | ||
System::SharedPtr< System::Web::HttpResponse > | response | ||
) |
Splits from specified location, and saves the rear part into HttpResponse object.
inputFile | source file name. |
location | Split point. |
response | HttpResponse objects. |
The TrySplitToEnd method is like the SplitToEnd method, except the TrySplitToEnd method does not throw an exception if the operation fails.
|
staticprotected |
|
staticprotected |
|
staticprotected |