update 20250711
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user