????????????PDF????????????????????PDF??????????е???????????????????????????ж??????????????????PDF?????????????????????????????????????PDF???????????????????????????????????????PDF???????????????????????????????????????????“???????”??????????????д??????????C# ??PDF??????????????
???????????????PDF?????

????????????
??????????????????Visual C#????????????????ò???????????
????using System.Drawing;
????using Spire.Pdf;
??????????????????PDF??????????????PDF?????
????PdfDocument doc = new PdfDocument();
????doc.LoadFromFile("sample.pdf");
?????????????????PDF??????????
????PdfPageBase page = doc.Pages[0];
??????????????????????????????汳????
????Image backgroundImage = Image.FromFile("background.jpg");
????page.BackgroundImage = backgroundImage;
???????崠??????????????′???
????doc.SaveToFile("result.pdf");
????System.Diagnostics.Process.Start("result.pdf");
????????????????Ч????????????????????????

???????????????
using System.Drawing;
using Spire.Pdf;
namespace Add_image_background_to_PDF
{
class Program
{
static void Main(string[] args)
{
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("sample.pdf");
PdfPageBase page = doc.Pages[0];
Image backgroundImage = Image.FromFile("background.jpg");
page.BackgroundImage = backgroundImage;
doc.SaveToFile("result.pdf");
System.Diagnostics.Process.Start("result.pdf");
}
}
}
???????
????PDF??????????????????????????????????????á?PDF?????????Word??Excel????????????????????????????????????????????????????????E-iceblue????????PDF??????????????????????????????????????????????и??????飬???????????????м???