我正在尝试使用PDF进行冲压,需要将其旋转90度才能正确铺设?有人知道怎么做吗?似乎无法在网上找到它.
如何在每个页面之间添加新页面,然后复制到新PDF.我知道我遗漏了一些基本的东西,但似乎并没有把它正确地弄下来.
int n = pdfReaderInput.NumberOfPages;
Document document = new Document();
PdfCopy copy = new PdfCopy(document, new FileStream(tempFile, FileMode.OpenOrCreate));
document.Open();
for (int i = 0; i < n; )
{
copy.AddPage(copy.GetImportedPage(pdfReaderInput, ++i));
}
document.Close();
return tempFile;
Run Code Online (Sandbox Code Playgroud)
我理解并知道这是错的,但我不确定我需要做什么.基本上,我在每页之间添加一个空白的pdf.提前致谢!