from ironpdf import *
# Instantiate Renderer
renderer = ChromePdfRenderer()
# Render a PDF from a URL
pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf")
# Add a PDF as background
pdf.AddBackgroundPdf("MyBackground.pdf")
# Add a PDF as foreground overlay to the first page
pdf.AddForegroundOverlayPdfToPage(0, "MyForeground.pdf", 0)
# Save the merged PDF
pdf.SaveAs("Complete.pdf")
#Instantiate Renderer
#Render a PDF from a URL
#Add a PDF as background
#Add a PDF as foreground overlay to the first page
#Save the merged PDF
'INSTANT VB TODO TASK: The following line uses invalid syntax:
'from ironpdf import * renderer = ChromePdfRenderer() pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf") pdf.AddBackgroundPdf("MyBackground.pdf") pdf.AddForegroundOverlayPdfToPage(0, "MyForeground.pdf", 0) pdf.SaveAs("Complete.pdf")