PdfFileEditor.MakeBooklet
MakeBooklet(Stream, Stream)
Makes booklet from the InputStream to outputStream.
public bool MakeBooklet(Stream inputStream, Stream outputStream)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | Input pdf stream. |
outputStream | Stream | output pdf stream. |
Return Value
True if operation was succeeded.
Examples
PdfFileEditor pfe = new PdfFileEditor();
Stream inputStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read);
Stream outputStream = new FileStream("output.pdf", FileMode.Create, FileAccess.Write);
pfe.MakeBooklet(inputStream, outputStream);
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(string, string, PageSize)
Makes booklet from the inputFile to outputFile.
public bool MakeBooklet(string inputFile, string outputFile, PageSize pageSize)
Parameter | Type | Description |
---|---|---|
inputFile | String | Input pdf file path and name. |
outputFile | String | Output pdf file path and name. |
pageSize | PageSize | The page size of the output pdf file. |
Return Value
True if operation is succeeded.
Examples
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf", PageSize.A4);
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(Stream, Stream, PageSize)
Makes booklet from the input stream and save result into output stream.
public bool MakeBooklet(Stream inputStream, Stream outputStream, PageSize pageSize)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | Input PDF stream. |
outputStream | Stream | output pdf stream. |
pageSize | PageSize | The page size of the output pdf file. |
Return Value
True if operation was succeeded.
Examples
PdfFileEditor pfe = new PdfFileEditor();
Stream inputStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read);
Stream outputStream = new FileStream("output.pdf", FileMode.Create, FileAccess.Write);
pfe.MakeBooklet(inputStream, outputStream, PageSize.A4);
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(string, string, int[], int[])
Makes customized booklet from the firstInputFile to outputFile.
public bool MakeBooklet(string inputFile, string outputFile, int[] leftPages, int[] rightPages)
Parameter | Type | Description |
---|---|---|
inputFile | String | The input file. |
outputFile | String | Output pdf file path and name. |
leftPages | Int32[] | The left pages of the booklet. |
rightPages | Int32[] | The right pages of the booklet. |
Return Value
boolean - True for success, or false.
Examples
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf", new int[] { 2, 4, 6 }, new int[] 1, 3, 5, 7 });
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(Stream, Stream, int[], int[])
Makes customized booklet from the firstInputStream to outputStream.
public bool MakeBooklet(Stream inputStream, Stream outputStream, int[] leftPages, int[] rightPages)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | The input stream. |
outputStream | Stream | output pdf stream. |
leftPages | Int32[] | The left pages. |
rightPages | Int32[] | The right pages. |
Return Value
boolean - True for success, or false.
Examples
PdfFileEditor pfe = new PdfFileEditor();
Stream inputStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read);
Stream outputStream = new FileStream("output.pdf", FileMode.Create, FileAccess.Write);
pfe.MakeBooklet(inputStream, outputStream, new int[] { 2, 4, 6 }, new int[] 1, 3, 5, 7 });
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(string, string, PageSize, int[], int[])
Makes customized booklet from the firstInputFile to outputFile.
public bool MakeBooklet(string inputFile, string outputFile, PageSize pageSize, int[] leftPages,
int[] rightPages)
Parameter | Type | Description |
---|---|---|
inputFile | String | The input file. |
outputFile | String | Output pdf file path and name. |
pageSize | PageSize | The page size of the output pdf file. |
leftPages | Int32[] | The left pages. |
rightPages | Int32[] | The right pages. |
Return Value
boolean - True for success, or false.
Examples
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf", PageSize.A4, new int[] { 2, 4, 6 }, new int[] 1, 3, 5, 7 });
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(Stream, Stream, PageSize, int[], int[])
Makes booklet from the firstInputStream to outputStream.
public bool MakeBooklet(Stream inputStream, Stream outputStream, PageSize pageSize,
int[] leftPages, int[] rightPages)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | The input stream. |
outputStream | Stream | output pdf stream. |
pageSize | PageSize | The page size of the output pdf file. |
leftPages | Int32[] | The left pages. |
rightPages | Int32[] | The right pages. |
Return Value
boolean - True for success, or false.
Examples
PdfFileEditor pfe = new PdfFileEditor();
Stream inputStream = new FileStream("input.pdf", FileMode.Open, FileAccess.Read);
Stream outputStream = new FileStream("output.pdf", FileMode.Create, FileAccess.Write);
pfe.MakeBooklet(inputStream, outputStream, PageSize.A4, new int[] { 2, 4, 6 }, new int[] 1, 3, 5, 7 });
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(string, string)
Makes booklet from the input file to output file.
public bool MakeBooklet(string inputFile, string outputFile)
Parameter | Type | Description |
---|---|---|
inputFile | String | Input pdf file path and name. |
outputFile | String | Output pdf file path and name. |
Return Value
boolean - True for success, or false.
Examples
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf");
See Also
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(string, PageSize, int[], int[], HttpResponse)
Makes booklet from source file and stores result into HttpResponse objects.
public bool MakeBooklet(string inputFile, PageSize pageSize, int[] leftPages, int[] rightPages,
HttpResponse response)
Parameter | Type | Description |
---|---|---|
inputFile | String | Source file path. |
pageSize | PageSize | Desired page size. |
leftPages | Int32[] | Aray of page numbers to be placed in left. |
rightPages | Int32[] | Array of page numbers to be placed in right. |
response | HttpResponse | HttpResponse object where result will be stored. |
Return Value
True if operation was succeeded.
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(Stream, PageSize, int[], int[], HttpResponse)
Make booklet from PDF file and stores it into HttpResponse.
public bool MakeBooklet(Stream inputStream, PageSize pageSize, int[] leftPages, int[] rightPages,
HttpResponse response)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | Input document stream. |
pageSize | PageSize | Desired page size. |
leftPages | Int32[] | Array of page numbers which will be placed in left. |
rightPages | Int32[] | Array of page numbers which will b eplaced in right. |
response | HttpResponse | HttpResponse object. |
Return Value
True if operation was succeeded.
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(string, PageSize, HttpResponse)
Makes booklet from source file and stores result into HttpResponse objects.
public bool MakeBooklet(string inputFile, PageSize pageSize, HttpResponse response)
Parameter | Type | Description |
---|---|---|
inputFile | String | Source file path. |
pageSize | PageSize | Desired page size in output file. |
response | HttpResponse | HttpResponse object where result will be stored. |
Return Value
True if operation is succeeded.
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
MakeBooklet(Stream, PageSize, HttpResponse)
Makes booklet from source file and stores result into HttpResponse.
public bool MakeBooklet(Stream inputStream, PageSize pageSize, HttpResponse response)
Parameter | Type | Description |
---|---|---|
inputStream | Stream | Input document stream. |
pageSize | PageSize | Desired page size in output file. |
response | HttpResponse | Respose object where resut will be saved. |
Return Value
true if booklet was built successfully.
See Also
- class PageSize
- class PdfFileEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF