update 20250711

This commit is contained in:
Stefan Hutter
2025-07-11 15:01:53 +02:00
parent 68e4725ff5
commit df8777631a
86 changed files with 236 additions and 68 deletions

View File

@@ -532,11 +532,11 @@ namespace Versandstrasse
//Set the page Transparency$PdfSolidBrush brush = new PdfSolidBrush(Color.LightBlue);
PdfSolidBrush brush = new PdfSolidBrush(Color.LightBlue);
loadedPage.Graphics.Save();
loadedPage.Graphics.SetTransparency(1, 1, PdfBlendMode.Multiply);
loadedPage.Graphics.SetTransparency(1, 1f, PdfBlendMode.Darken);
//Draw the rectangle on the PDF document
loadedPage.Graphics.DrawRectangle(brush, bounds);
loadedPage.Graphics.Restore();
//PdfLoadedPage loadedPage = document.Pages[0] as PdfLoadedPage;
//PdfPen pen = new PdfPen(PdfBrushes.Red, 10f);