Skip to content

Commit aed0710

Browse files
Merge pull request #179 from SyncfusionExamples/WatermarkCompile
Resolved the compilation issue regarding adding watermark in existing PDF document.
2 parents 4a55354 + fb62450 commit aed0710

File tree

1 file changed

+1
-1
lines changed
  • Watermark/Add-text-watermark-in-an-existing-PDF-document/.NET/Add-text-watermark-in-an-existing-PDF-document

1 file changed

+1
-1
lines changed

Watermark/Add-text-watermark-in-an-existing-PDF-document/.NET/Add-text-watermark-in-an-existing-PDF-document/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
loadedPage.Graphics.RotateTransform(-45);
3030

3131
//Set transparency
32-
loadedPage.Graphics..SetTransparency(0.25f);
32+
loadedPage.Graphics.SetTransparency(0.25f);
3333

3434
// Draw the watermark text
3535
loadedPage.Graphics.DrawString(watermarkText, font, PdfBrushes.Red, new PointF(-watermarkTextSize.Width / 2, -watermarkTextSize.Height / 2));

0 commit comments

Comments
 (0)