From d67dbed30eee4653c0c6756269c6f3675bd9200a Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Mon, 3 Nov 2025 17:46:56 +0530 Subject: [PATCH 1/2] 261980-1: Resolved UG failures. --- Document-Processing-toc.html | 2 +- .../PDF/PDF-Library/NET/Working-with-Images.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index 7e5ded547..17fb69c6c 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -2612,7 +2612,7 @@ Google Cloud Platform (GCP) diff --git a/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md b/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md index 6f610aa87..b217d36ba 100644 --- a/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md +++ b/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md @@ -624,7 +624,7 @@ This example demonstrates how to draw an image in a PDF document and apply a cli {% tabs %} -{% highlight c# tabtitle="C# [Cross-platform]" %} +{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/PDF-Examples/master/Images/Clipping-and-graphics-state/.NET/Clipping-and-graphics-state/Program.cs" %} using Syncfusion.Drawing; using Syncfusion.Pdf; @@ -746,7 +746,7 @@ End Using {% endtabs %} -You can download a complete working sample from GitHub. +You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Images/Clipping-and-graphics-state/.NET). ## Applying transparency and rotation to the image From fd66575b676f861286d403fc084670cb789c3352 Mon Sep 17 00:00:00 2001 From: sameerkhan001 Date: Mon, 3 Nov 2025 17:47:29 +0530 Subject: [PATCH 2/2] 261980-1 --- Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md b/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md index b217d36ba..4d004d4f8 100644 --- a/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md +++ b/Document-Processing/PDF/PDF-Library/NET/Working-with-Images.md @@ -618,7 +618,7 @@ doc.Close(True) You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Images/Paginate-an-image-in-PDF-document). -## Clipping and Graphics State +## Clipping and graphics state This example demonstrates how to draw an image in a PDF document and apply a clipping region using the [SetClip](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Graphics.PdfGraphics.html#methods) method. Clipping restricts drawing to a defined area, allowing partial rendering of content. The code also uses [Save](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Graphics.PdfGraphics.html#methods) and [Restore](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Graphics.PdfGraphics.html#methods) methods of [PdfGraphics](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Graphics.PdfGraphics.html) to manage the graphics state, enabling temporary clipping and restoring the full drawing area afterward.