MakeBooklet
内容
[
隐藏
]MakeBooklet(string, string)
制作从输入文件到输出文件的小册子。
public bool MakeBooklet(string inputFile, string outputFile)
范围 | 类型 | 描述 |
---|---|---|
inputFile | String | 输入pdf文件路径和名称. |
outputFile | String | 输出pdf文件路径和名称. |
返回值
boolean - True 表示成功,或 false。
例子
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf");
也可以看看
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(Stream, Stream)
制作从 InputStream 到 outputStream. 的小册子
public bool MakeBooklet(Stream inputStream, Stream outputStream)
范围 | 类型 | 描述 |
---|---|---|
inputStream | Stream | 输入pdf流. |
outputStream | Stream | 输出pdf流. |
返回值
如果操作成功则为真。
例子
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);
也可以看看
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(string, string, PageSize)
制作从 inputFile 到 outputFile. 的小册子
public bool MakeBooklet(string inputFile, string outputFile, PageSize pageSize)
范围 | 类型 | 描述 |
---|---|---|
inputFile | String | 输入pdf文件路径和名称. |
outputFile | String | 输出pdf文件路径和名称. |
pageSize | PageSize | 输出pdf文件的页面大小. |
返回值
如果操作成功则为真。
例子
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf", PageSize.A4);
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(Stream, Stream, PageSize)
从输入流制作小册子并将结果保存到输出流中。
public bool MakeBooklet(Stream inputStream, Stream outputStream, PageSize pageSize)
范围 | 类型 | 描述 |
---|---|---|
inputStream | Stream | 输入 PDF 流. |
outputStream | Stream | 输出pdf流. |
pageSize | PageSize | 输出pdf文件的页面大小. |
返回值
如果操作成功则为真。
例子
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);
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(string, string, int[], int[])
制作从 firstInputFile 到 outputFile 的自定义小册子。
public bool MakeBooklet(string inputFile, string outputFile, int[] leftPages, int[] rightPages)
范围 | 类型 | 描述 |
---|---|---|
inputFile | String | 输入文件。 |
outputFile | String | 输出 pdf 文件路径和名称。 |
leftPages | Int32[] | 小册子的左页。 |
rightPages | Int32[] | 小册子的右页。 |
返回值
boolean - True 表示成功,或 false。
例子
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf", new int[] { 2, 4, 6 }, new int[] 1, 3, 5, 7 });
也可以看看
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(Stream, Stream, int[], int[])
制作从 firstInputStream 到 outputStream 的自定义小册子。
public bool MakeBooklet(Stream inputStream, Stream outputStream, int[] leftPages, int[] rightPages)
范围 | 类型 | 描述 |
---|---|---|
inputStream | Stream | 输入流。 |
outputStream | Stream | 输出pdf流。 |
leftPages | Int32[] | 左页。 |
rightPages | Int32[] | 正确的页面。 |
返回值
boolean - True 表示成功,或 false。
例子
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 });
也可以看看
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(string, string, PageSize, int[], int[])
制作从 firstInputFile 到 outputFile 的自定义小册子。
public bool MakeBooklet(string inputFile, string outputFile, PageSize pageSize, int[] leftPages,
int[] rightPages)
范围 | 类型 | 描述 |
---|---|---|
inputFile | String | 输入文件。 |
outputFile | String | 输出 pdf 文件路径和名称。 |
pageSize | PageSize | 输出 pdf 文件的页面大小。 |
leftPages | Int32[] | 左页。 |
rightPages | Int32[] | 正确的页面。 |
返回值
boolean - True 表示成功,或 false。
例子
PdfFileEditor pfe = new PdfFileEditor();
pfe.MakeBooklet("input.pdf", "output.pdf", PageSize.A4, new int[] { 2, 4, 6 }, new int[] 1, 3, 5, 7 });
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(Stream, Stream, PageSize, int[], int[])
制作从 firstInputStream 到 outputStream. 的小册子
public bool MakeBooklet(Stream inputStream, Stream outputStream, PageSize pageSize,
int[] leftPages, int[] rightPages)
范围 | 类型 | 描述 |
---|---|---|
inputStream | Stream | 输入流。 |
outputStream | Stream | 输出pdf流。 |
pageSize | PageSize | 输出 pdf 文件的页面大小。 |
leftPages | Int32[] | 左页。 |
rightPages | Int32[] | 正确的页面。 |
返回值
boolean - True 表示成功,或 false。
例子
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 });
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(string, PageSize, int[], int[], HttpResponse)
从源文件制作小册子并将结果存储到 HttpResponse 对象中。
public bool MakeBooklet(string inputFile, PageSize pageSize, int[] leftPages, int[] rightPages,
HttpResponse response)
范围 | 类型 | 描述 |
---|---|---|
inputFile | String | 源文件路径。 |
pageSize | PageSize | 所需的页面大小。 |
leftPages | Int32[] | 要放置在左侧的页码数组。 |
rightPages | Int32[] | 要放置在右侧的页码数组。 |
response | HttpResponse | 将存储结果的 HttpResponse 对象。 |
返回值
如果操作成功则为真。
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(Stream, PageSize, int[], int[], HttpResponse)
从 PDF 文件制作小册子并将其存储到 HttpResponse.
public bool MakeBooklet(Stream inputStream, PageSize pageSize, int[] leftPages, int[] rightPages,
HttpResponse response)
范围 | 类型 | 描述 |
---|---|---|
inputStream | Stream | 输入文档流。 |
pageSize | PageSize | 所需的页面大小。 |
leftPages | Int32[] | 将放置在左侧的页码数组。 |
rightPages | Int32[] | 将在右侧替换的页码数组。 |
response | HttpResponse | HttpResponse 对象。 |
返回值
如果操作成功则为真。
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(string, PageSize, HttpResponse)
从源文件制作小册子并将结果存储到 HttpResponse 对象中。
public bool MakeBooklet(string inputFile, PageSize pageSize, HttpResponse response)
范围 | 类型 | 描述 |
---|---|---|
inputFile | String | 源文件路径。 |
pageSize | PageSize | 输出文件中所需的页面大小。 |
response | HttpResponse | 将存储结果的 HttpResponse 对象。 |
返回值
如果操作成功则为真。
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF
MakeBooklet(Stream, PageSize, HttpResponse)
从源文件制作小册子并将结果存储到 HttpResponse.
public bool MakeBooklet(Stream inputStream, PageSize pageSize, HttpResponse response)
范围 | 类型 | 描述 |
---|---|---|
inputStream | Stream | 输入文档流。 |
pageSize | PageSize | 输出文件中所需的页面大小。 |
response | HttpResponse | 响应将保存结果的对象。 |
返回值
如果小册子已成功构建,则为 true。
也可以看看
- class PageSize
- class PdfFileEditor
- 命名空间 Aspose.Pdf.Facades
- 部件 Aspose.PDF