: Content in the Background() slot is drawn behind all other elements. This is ideal for subtle branding or "Draft" backgrounds that shouldn't obscure text.
public class WatermarkDocument : IDocument { public DocumentMetadata GetMetadata() => DocumentMetadata.Default;
Bookmark this guide. Share it with your team. And remember: In the world of digital documents, the visible mark of ownership is your loudest legal scream. quest pdf watermark
: You can use any QuestPDF element (text, images, or even complex grids) within a watermark slot. Common practices include using .Rotate() for diagonal text and .FontColor() with light shades to ensure readability.
void ComposeWatermark(IContainer container) { // Using a layer ensures the watermark sits in the background container .AlignCenter() .AlignMiddle() .Rotate(45) // Rotate 45 degrees for the classic diagonal look .Text("DRAFT") .FontColor(Colors.Grey.Lighten2) // Very light grey .FontSize(80) .Bold(); } : Content in the Background() slot is drawn
While this article focuses on adding a , you may eventually need to remove one from a document you own. However, a word of legal warning:
If you run a business, manual watermarking is a bottleneck. Use automation tools (Zapier + PDF.co) to auto-watermark every PDF generated by your CRM or invoicing system. Share it with your team
Adobe is the industry leader. Here is how to add a watermark permanently:
Let’s look at how a saves businesses daily.