Aspose::Pdf::Facades::PdfFileEditor class

PdfFileEditor class

Implements operations with PDF file: concatenation, splitting, extracting pages, making booklet, etc.

class PdfFileEditor : public Aspose::Pdf::LicenseManagement::IVentureLicenseTarget

Methods

MethodDescription
AddMargins(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, double, double, double, double)Resizes page contents and add specifed margins. Margins are specified in default space units.
AddMargins(System::String, System::String, System::ArrayPtr<int32_t>, double, double, double, double)Resizes page contents and add specifed margins. Margins are specified in default space units.
AddMarginsPct(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, double, double, double, double)Resizes page contents and add specified margins. Margins are specified in percents of intitial page size.
AddMarginsPct(System::String, System::String, System::ArrayPtr<int32_t>, double, double, double, double)Resizes page contents and add specified margins. Margins are specified in percents of intitial page size.
AddPageBreak(System::SharedPtr<Document>, System::SharedPtr<Document>, System::ArrayPtr<System::SharedPtr<PdfFileEditor::PageBreak>>)Adds page breaks into document pages.
AddPageBreak(System::String, System::String, System::ArrayPtr<System::SharedPtr<PdfFileEditor::PageBreak>>)Adds page breaks into document pages.
AddPageBreak(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<System::SharedPtr<PdfFileEditor::PageBreak>>)Adds page breaks into document pages.
Append(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, int32_t, int32_t, System::SharedPtr<System::IO::Stream>)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.
Append(System::String, System::ArrayPtr<System::String>, int32_t, int32_t, System::String)Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage.
Append(System::String, System::String, int32_t, int32_t, System::String)Appends pages, which are chosen from portFile within the range from startPage to endPage, in portFile at the end of firstInputFile.
Append(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<System::IO::Stream>)Appends pages,which are chosen from portStream within the range from startPage to endPage, in portStream at the end of firstInputStream.
Append(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Appends documents to source document and saves result into response object.
Append(System::String, System::ArrayPtr<System::String>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Appends documents to source document and saves result into HttpResponse object.
Concatenate(System::String, System::String, System::String)Concatenates two files.
Concatenate(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)Concatenates two files.
Concatenate(System::ArrayPtr<System::SharedPtr<Document>>, System::SharedPtr<Document>)Concatenates documents.
Concatenate(System::ArrayPtr<System::String>, System::String)Concatenates files into one file.
Concatenate(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::SharedPtr<System::IO::Stream>)Concatenates files.
Concatenate(System::String, System::String, System::String, System::String)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.
Concatenate(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)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.
Concatenate(System::ArrayPtr<System::String>, System::SharedPtr<System::Web::HttpResponse>)Concatenates files and saves reslt into HttpResposnse object.
Concatenate(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::SharedPtr<System::Web::HttpResponse>)Concatenates files and stores result into HttpResponse object.
Delete(System::String, System::ArrayPtr<int32_t>, System::String)Deletes pages specified by number array from input file, saves as a new Pdf file.
Delete(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::IO::Stream>)Deletes pages specified by number array from input file, saves as a new Pdf file.
Delete(System::String, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Deletes specified pages from document and stores result into HttpResponse object.
Delete(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Deletes specified pages from document and saves result into HttpResponse object.
Extract(System::String, int32_t, int32_t, System::String)Extracts pages from input file,saves as a new Pdf file.
Extract(System::String, System::ArrayPtr<int32_t>, System::String)Extracts pages specified by number array, saves as a new PDF file.
Extract(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<System::IO::Stream>)Extracts pages from input file,saves as a new Pdf file.
Extract(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::IO::Stream>)Extracts pages specified by number array, saves as a new Pdf file.
Extract(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Extracts specified pages form source file and stores result into HttpResponse object.
Extract(System::String, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Extracts specified pages from source file and stores result into HttpResponse object.
get_AllowConcatenateExceptions()If set to true, exceptions are thrown if error occured. Else excetion are not thrown and methods return false if failed.
get_AttachmentName() constGets name of attachment when result of operation is stored into HttpResponse objects as attachment.
get_CloseConcatenatedStreams() constIf set to true, streams are closed after operation.
get_ConcatenationPacketSize() constNumber of documents concatenated before new incremental update was made during concatenation when UseDiskBuffer is set to true.
get_ContentDisposition() constGets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
get_ConversionLog()Gets log of conversion process.
get_CopyLogicalStructure() constIf true then logical structure of the file is copied when concatenation is performed.
get_CopyOutlines() constIf true then outlines will be copied.
get_CorruptedFileAction() constThis property defines behavior when concatenating process met corrupted file. Possible values are: StopWithError and ConcatenateIgnoringCorrupted.
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.
get_IncrementalUpdates() constIf true, incremental updates are made during concatenation.
get_KeepActions() constIf true actions will be copied from source documents. Defaulkt value : true.
get_KeepFieldsUnique() constIf 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.
get_LastException() constGets last occured exception. May be used to check the reason of failure.
get_MergeDuplicateLayers() constOptional 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.
get_MergeDuplicateOutlines() constIf true, duplicate outlines are merged.
get_OptimizeSize() constGets 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.
get_OwnerPassword() constSets owner’s password if the source input Pdf file is encrypted. This property is not implemented yet.
get_PreserveUserRights() constIf true, user rights of first document are applied to concatenated document. User rights of all other documents are ignored.
get_RemoveSignatures() constIf true, all signatures will be removed from fields (fields will remain); otherwise, you can get invalid signatures.
get_SaveOptions() constGets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
get_UniqueSuffix() constFormat 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.
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.
Insert(System::String, int32_t, System::String, int32_t, int32_t, System::String)Inserts pages from an other file into the Pdf file at a position.
Insert(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<System::IO::Stream>)Inserts pages from an other file into the input Pdf file.
Insert(System::String, int32_t, System::String, System::ArrayPtr<int32_t>, System::String)Inserts pages from an other file into the input Pdf file.
Insert(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::IO::Stream>)Inserts pages from an other file into the input Pdf file.
Insert(System::String, int32_t, System::String, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Inserts contents of file into source file and stores result into HttpResponse object.
Insert(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Inserts document into other document and stores result into response object.
MakeBooklet(System::String, System::String)Makes booklet from the input file to output file.
MakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)Makes booklet from the InputStream to outputStream.
MakeBooklet(System::String, System::String, System::SharedPtr<PageSize>)Makes booklet from the inputFile to outputFile.
MakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>)Makes booklet from the input stream and save result into output stream.
MakeBooklet(System::String, System::String, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes customized booklet from the firstInputFile to outputFile.
MakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes customized booklet from the firstInputStream to outputStream.
MakeBooklet(System::String, System::String, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes customized booklet from the firstInputFile to outputFile.
MakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes booklet from the firstInputStream to outputStream.
MakeBooklet(System::String, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Makes booklet from source file and stores result into HttpResponse objects.
MakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Make booklet from PDF file and stores it into HttpResponse.
MakeBooklet(System::String, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes booklet from source file and stores result into HttpResponse objects.
MakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes booklet from source file and stores result into HttpResponse.
MakeNUp(System::String, System::String, int32_t, int32_t)Makes N-Up document from the firstInputFile to outputFile.
MakeNUp(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, int32_t, int32_t)Makes N-Up document from the input stream and saves result into output stream.
MakeNUp(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<PageSize>)Makes N-Up document from the first input stream to output stream.
MakeNUp(System::String, System::String, System::String)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.
MakeNUp(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)Makes N-Up document from the two input PDF streams to outputStream.
MakeNUp(System::ArrayPtr<System::String>, System::String, bool)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.
MakeNUp(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::SharedPtr<System::IO::Stream>, bool)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.
MakeNUp(System::String, System::String, int32_t, int32_t, System::SharedPtr<PageSize>)Makes N-Up document from the input file to outputFile.
MakeNUp(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse object.
MakeNUp(System::String, int32_t, int32_t, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse object.
MakeNUp(System::String, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse.
MakeNUp(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse.
PdfFileEditor()PdfFileEditor constructor.
ResizeContents(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>)Resizes contents of pages of the document.
ResizeContents(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, double, double)Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units.
ResizeContents(System::String, System::String, System::ArrayPtr<int32_t>, double, double)Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units.
ResizeContents(System::String, System::String, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>)Resizes contents of pages in document. If page is shrinked blank margins are added around the page.
ResizeContents(System::SharedPtr<Document>, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>)Resizes pages of document. Blank margins are added around of shrinked page.
ResizeContents(System::SharedPtr<Document>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>)Resizes pages of document. Blank margins are added around of shrinked page.
ResizeContents(System::String, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>, System::SharedPtr<System::Web::HttpResponse>)Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
ResizeContents(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>, System::SharedPtr<System::Web::HttpResponse>)Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
ResizeContentsPct(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, double, double)Resizes contents of document pages. Shrinks contents of page and adds margins. New contents size is specified in percents.
ResizeContentsPct(System::String, System::String, System::ArrayPtr<int32_t>, double, double)Resizes contents of document pages. Shrinks contents of page and adds margins. New contents size is specified in percents.
set_AllowConcatenateExceptions(bool)If set to true, exceptions are thrown if error occured. Else excetion are not thrown and methods return false if failed.
set_AttachmentName(System::String)Sets name of attachment when result of operation is stored into HttpResponse objects as attachment.
set_CloseConcatenatedStreams(bool)If set to true, streams are closed after operation.
set_ConcatenationPacketSize(int32_t)Number of documents concatenated before new incremental update was made during concatenation when UseDiskBuffer is set to true.
set_ContentDisposition(Aspose::Pdf::ContentDisposition)Sets how content will be stored when result of operation is stored into HttpResponse object. Possible value: inline / attachment. Default: inline.
set_ConvertTo(PdfFormat)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.
set_CopyLogicalStructure(bool)If true then logical structure of the file is copied when concatenation is performed.
set_CopyOutlines(bool)If true then outlines will be copied.
set_CorruptedFileAction(PdfFileEditor::ConcatenateCorruptedFileAction)This property defines behavior when concatenating process met corrupted file. Possible values are: StopWithError and ConcatenateIgnoringCorrupted.
set_IncrementalUpdates(bool)If true, incremental updates are made during concatenation.
set_KeepActions(bool)If true actions will be copied from source documents. Defaulkt value : true.
set_KeepFieldsUnique(bool)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.
set_MergeDuplicateLayers(bool)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.
set_MergeDuplicateOutlines(bool)If true, duplicate outlines are merged.
set_OptimizeSize(bool)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.
set_OwnerPassword(System::String)Sets owner’s password if the source input Pdf file is encrypted. This property is not implemented yet.
set_PreserveUserRights(bool)If true, user rights of first document are applied to concatenated document. User rights of all other documents are ignored.
set_RemoveSignatures(bool)If true, all signatures will be removed from fields (fields will remain); otherwise, you can get invalid signatures.
set_SaveOptions(System::SharedPtr<Aspose::Pdf::SaveOptions>)Sets save options when result is stored as HttpResponse. Default value: PdfSaveOptions.
set_UniqueSuffix(System::String)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.
set_UseDiskBuffer(bool)If this option used then destination document will be saved on disk periodically and further concatenation will appllied to it as incremental updates.
SplitFromFirst(System::String, int32_t, System::String)Splits Pdf file from first page to specified location,and saves the front part as a new file.
SplitFromFirst(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>)Splits from start to specified location,and saves the front part in output Stream.
SplitFromFirst(System::String, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits document from first page to location and saves result into HttpResponse objects.
SplitFromFirst(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits document from start to specified location and stores result into HttpResponse object.
SplitToBulks(System::String, System::ArrayPtr<System::ArrayPtr<int32_t>>)Splits the Pdf file into several documents.The documents can be single-page or multi-pages.
SplitToBulks(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<System::ArrayPtr<int32_t>>)Splits the Pdf file into several documents.The documents can be single-page or multi-pages.
SplitToEnd(System::String, int32_t, System::String)Splits from location, and saves the rear part as a new file.
SplitToEnd(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>)Splits from specified location, and saves the rear part as a new file Stream.
SplitToEnd(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits from specified location, and saves the rear part into HttpResponse object.
SplitToEnd(System::String, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits from specified location, and saves the rear part into HttpResponse object.
SplitToPages(System::String)Splits the PDF file into single-page documents.
SplitToPages(System::SharedPtr<System::IO::Stream>)Splits the Pdf file into single-page documents.
SplitToPages(System::String, System::String)Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
SplitToPages(System::SharedPtr<System::IO::Stream>, System::String)Split the Pdf file into single-page documents and saves it into specified path. Path is specifield by field name temaplate.
TryAppend(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, int32_t, int32_t, System::SharedPtr<System::IO::Stream>)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.
TryAppend(System::String, System::ArrayPtr<System::String>, int32_t, int32_t, System::String)Appends pages, which are chosen from portFiles documents. The result document includes firstInputFile and all portFiles documents pages in the range startPage to endPage.
TryAppend(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Appends documents to source document and saves result into response object.
TryAppend(System::String, System::ArrayPtr<System::String>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Appends documents to source document and saves result into HttpResponse object.
TryConcatenate(System::String, System::String, System::String)Concatenates two files.
TryConcatenate(System::ArrayPtr<System::SharedPtr<Document>>, System::SharedPtr<Document>)Concatenates documents.
TryConcatenate(System::ArrayPtr<System::String>, System::String)Concatenates files into one file.
TryConcatenate(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::SharedPtr<System::IO::Stream>)Concatenates files.
TryConcatenate(System::String, System::String, System::String, System::String)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.
TryConcatenate(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)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.
TryConcatenate(System::ArrayPtr<System::String>, System::SharedPtr<System::Web::HttpResponse>)Concatenates files and saves reslt into HttpResposnse object.
TryConcatenate(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::SharedPtr<System::Web::HttpResponse>)Concatenates files and stores result into HttpResponse object.
TryDelete(System::String, System::ArrayPtr<int32_t>, System::String)Deletes pages specified by number array from input file, saves as a new Pdf file.
TryDelete(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::IO::Stream>)Deletes pages specified by number array from input file, saves as a new Pdf file.
TryDelete(System::String, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Deletes specified pages from document and stores result into HttpResponse object.
TryDelete(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Deletes specified pages from document and saves result into HttpResponse object.
TryExtract(System::String, int32_t, int32_t, System::String)Extracts pages from input file,saves as a new Pdf file.
TryExtract(System::String, System::ArrayPtr<int32_t>, System::String)Extracts pages specified by number array, saves as a new PDF file.
TryExtract(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::IO::Stream>)Extracts pages specified by number array, saves as a new Pdf file.
TryExtract(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Extracts specified pages form source file and stores result into HttpResponse object.
TryExtract(System::String, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Extracts specified pages from source file and stores result into HttpResponse object.
TryInsert(System::String, int32_t, System::String, System::ArrayPtr<int32_t>, System::String)Inserts pages from an other file into the input Pdf file.
TryInsert(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::IO::Stream>)Inserts pages from an other file into the input Pdf file.
TryInsert(System::String, int32_t, System::String, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Inserts contents of file into source file and stores result into HttpResponse object.
TryInsert(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Inserts document into other document and stores result into response object.
TryMakeBooklet(System::String, System::String)Makes booklet from the input file to output file.
TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)Makes booklet from the InputStream to outputStream.
TryMakeBooklet(System::String, System::String, System::SharedPtr<PageSize>)Makes booklet from the inputFile to outputFile.
TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>)Makes booklet from the input stream and save result into output stream.
TryMakeBooklet(System::String, System::String, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes customized booklet from the firstInputFile to outputFile.
TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes customized booklet from the firstInputStream to outputStream.
TryMakeBooklet(System::String, System::String, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes customized booklet from the firstInputFile to outputFile.
TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>)Makes booklet from the firstInputStream to outputStream.
TryMakeBooklet(System::String, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Makes booklet from source file and stores result into HttpResponse objects.
TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::ArrayPtr<int32_t>, System::ArrayPtr<int32_t>, System::SharedPtr<System::Web::HttpResponse>)Make booklet from PDF file and stores it into HttpResponse.
TryMakeBooklet(System::String, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes booklet from source file and stores result into HttpResponse objects.
TryMakeBooklet(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes booklet from source file and stores result into HttpResponse.
TryMakeNUp(System::String, System::String, int32_t, int32_t)Makes N-Up document from the firstInputFile to outputFile.
TryMakeNUp(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, int32_t, int32_t)Makes N-Up document from the input stream and saves result into output stream.
TryMakeNUp(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<PageSize>)Makes N-Up document from the first input stream to output stream.
TryMakeNUp(System::String, System::String, System::String)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.
TryMakeNUp(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>)Makes N-Up document from the two input PDF streams to outputStream.
TryMakeNUp(System::ArrayPtr<System::String>, System::String, bool)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.
TryMakeNUp(System::ArrayPtr<System::SharedPtr<System::IO::Stream>>, System::SharedPtr<System::IO::Stream>, bool)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.
TryMakeNUp(System::String, System::String, int32_t, int32_t, System::SharedPtr<PageSize>)Makes N-Up document from the input file to outputFile.
TryMakeNUp(System::String, int32_t, int32_t, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse object.
TryMakeNUp(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<PageSize>, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse object.
TryMakeNUp(System::String, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse.
TryMakeNUp(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<System::Web::HttpResponse>)Makes N-up document and stores result into HttpResponse.
TryResizeContents(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>)Resizes contents of pages of the document.
TryResizeContents(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, double, double)Resizes contents of document pages. Shrinks contents of page and adds margins. New size of contents is specified in default space units.
TryResizeContents(System::String, System::String, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>)Resizes contents of pages in document. If page is shrinked blank margins are added around the page.
TryResizeContents(System::String, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>, System::SharedPtr<System::Web::HttpResponse>)Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
TryResizeContents(System::SharedPtr<System::IO::Stream>, System::ArrayPtr<int32_t>, System::SharedPtr<PdfFileEditor::ContentsResizeParameters>, System::SharedPtr<System::Web::HttpResponse>)Resizes contents of pages in document. If page is shrinked blank margins are added around the page. Result is stored into HttpResponse object.
TrySplitFromFirst(System::String, int32_t, System::String)Splits Pdf file from first page to specified location,and saves the front part as a new file.
TrySplitFromFirst(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>)Splits from start to specified location,and saves the front part in output Stream.
TrySplitFromFirst(System::String, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits document from first page to location and saves result into HttpResponse objects.
TrySplitFromFirst(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits document from start to specified location and stores result into HttpResponse object.
TrySplitToEnd(System::String, int32_t, System::String)Splits from location, and saves the rear part as a new file.
TrySplitToEnd(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::IO::Stream>)Splits from specified location, and saves the rear part as a new file Stream.
TrySplitToEnd(System::SharedPtr<System::IO::Stream>, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits from specified location, and saves the rear part into HttpResponse object.
TrySplitToEnd(System::String, int32_t, System::SharedPtr<System::Web::HttpResponse>)Splits from specified location, and saves the rear part into HttpResponse object.

See Also