开发者

Creating an exact copy of a pdf file

How can I create an exact copy of a pdf file found on开发者_运维问答 my server using itextsharp and save it under a different name. I will basically end up with 2 files with the same content but different names. Any help would be greatly appreciated.

Thanks,


Just use File.Copy. No need for itextsharp.

File.Copy(pathToPdf, pathWithNewName);


Why do you need itextsharp for this? Why not just create a copy of the file?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜