Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFファイルのNUpを作成し、出力PDFファイルに保存することができます。このオーバーロードを使用すると、ファイルパスを使用してNUpを作成できます。以下のコードスニペットは、ファイルパスを使用してNUPを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingFilePaths()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Make NUp
pdfEditor.MakeNUp(dataDir + "MakeNupInput.pdf", dataDir + "MakeNupInput2.pdf", "MakeNUpUsingPaths_out.pdf");
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFファイルのNUpを作成し、出力PDFファイルに保存することができます。このオーバーロードを使用すると、ファイルパスを使用してNUpを作成できます。また、このオーバーロードを使用して出力PDFファイルのページサイズを設定することもできます。以下のコードスニペットは、ページサイズとファイルパスを使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupUsingPageSizeAndFilePaths()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Make NUp
pdfEditor.MakeNUp(dataDir + "MakeNupMultiplePagesInput.pdf", dataDir + "MakeNUpUsingPageSizeAndPaths_out.pdf", 2, 3, PageSize.A5);
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFファイルのNUpを作成し、出力PDFファイルに保存することができます。このオーバーロードを使用すると、ファイルパスを使用してNUpを作成できます。また、このオーバーロードを使用して出力PDFファイルのページサイズと、各出力ページの水平および垂直のページ数を設定することもできます。以下のコードスニペットは、ページサイズ、水平および垂直値、ファイルパスを使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingPageSizeHorizontalAndVerticalValuesAndFilePaths()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Make NUp
pdfEditor.MakeNUp(dataDir + "MakeNupInput.pdf", "MakeNUpUsingPageSizeHorizontalAndVerticalValues_out.pdf", 2, 3);
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFファイルの配列のNUpを作成し、それらを1つの出力PDFファイルに保存することができます。このオーバーロードを使用すると、ファイルパスを使用してNUpを作成できます。以下のコードスニペットは、PDFファイルの配列とファイルパスを使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingArrayOfPdfFilesAndFilePaths()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Create array of files
string[] filesArray = new string[2];
filesArray[0] = dataDir + "MakeNupInput.pdf";
filesArray[1] = dataDir + "MakeNupInput2.pdf";
// Make NUp
pdfEditor.MakeNUp(filesArray, dataDir + "MakeNupUsingArrayOfFilesAndPaths_out.pdf", true);
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFストリームのNUpを作成し、出力PDFストリームに保存することができます。このオーバーロードを使用すると、ファイルパスの代わりにストリームを使用してNUpを作成できます。以下のコードスニペットは、ストリームを使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingStreams()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Create streams
using (var inputStream1 = new FileStream(dataDir + "MakeNupInput.pdf", FileMode.Open))
{
using (var inputStream2 = new FileStream(dataDir + "MakeNupInput2.pdf", FileMode.Open))
{
using (var outputStream = new FileStream(dataDir + "MakeNUpUsingStreams_out.pdf", FileMode.Create))
{
// Make NUp
pdfEditor.MakeNUp(inputStream1, inputStream2, outputStream);
}
}
}
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFストリームのNUpを作成し、出力PDFストリームに保存することができます。このオーバーロードを使用すると、ファイルパスの代わりにストリームを使用してNUpを作成できます。また、このオーバーロードを使用して出力PDFストリームのページサイズを設定することもできます。以下のコードスニペットは、ページサイズとストリームを使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingPageSizeAndStreams()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Create streams
using (var inputStream = new FileStream(dataDir + "MakeNupInput.pdf", FileMode.Open))
{
using (var outputStream = new FileStream(dataDir + "MakeNUpUsingPageSizeAndStreams_out.pdf", FileMode.Create))
{
// Make NUp
pdfEditor.MakeNUp(inputStream, outputStream, 2, 3, PageSize.A5);
}
}
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFストリームのNUpを作成し、出力PDFストリームに保存することができます。このオーバーロードを使用すると、ファイルパスの代わりにストリームを使用してNUpを作成できます。また、このオーバーロードを使用して出力PDFストリームのページサイズと、各出力ページの水平および垂直のページ数を設定することもできます。以下のコードスニペットは、ページサイズ、水平および垂直値、ストリームを使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingPageSizeHorizontalAndVerticalValuesAndStreams()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Create streams
using (var inputStream = new FileStream(dataDir + "MakeNupInput.pdf", FileMode.Open))
{
using (var outputStream = new FileStream(dataDir + "MakeNUpUsingPageSizeHorizontalVerticalValuesAndStreams_out.pdf", FileMode.Create))
{
// Make NUp
pdfEditor.MakeNUp(inputStream, outputStream, 2, 3);
}
}
}
MakeNUpメソッドは、PdfFileEditorクラスのもので、入力PDFストリームの配列のNUpを作成し、それらを1つの出力PDFストリームに保存することができます。このオーバーロードを使用すると、ファイルパスの代わりにストリームを使用してNUpを作成できます。以下のコードスニペットは、ストリームを使用してPDFファイルの配列を使用してNUpを作成する方法を示しています。
// For complete examples and data files, visit https://github.com/aspose-pdf/Aspose.PDF-for-.NET
private static void MakeNupOfPdfUsingArrayOfPdfFilesAndStreams()
{
// The path to the documents directory
var dataDir = RunExamples.GetDataDir_AsposePdfFacades_Pages();
// Create PdfFileEditor object
var pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
// Create streams
using (var stream1 = new FileStream(dataDir + "MakeNupInput.pdf", FileMode.Open))
{
using (var stream2 = new FileStream(dataDir + "MakeNupInput2.pdf", FileMode.Open))
{
using (var outputStream = new FileStream(dataDir + "MakeNUpUsingArrayOfFilesAndStreams_out.pdf", FileMode.Create))
{
var fileStreams = new Stream[2];
fileStreams[0] = stream1;
fileStreams[1] = stream2;
// Make NUp
pdfEditor.MakeNUp(fileStreams, outputStream, true);
}
}
}
}
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.