Skip to content

Commit e53f8c6

Browse files
Merge pull request #1596 from syncfusion-content/Task-966731-ExtractImage
Task-966731-Need to add the remove image details in UG documentation
2 parents d73c366 + 51ee5ca commit e53f8c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Document-Processing/PDF/PDF-Library/NET/Working-with-Pages.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,11 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
944944

945945
You can remove the pages from the existing PDF document using [RemoveAt](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Parsing.PdfLoadedPageCollection.html#Syncfusion_Pdf_Parsing_PdfLoadedPageCollection_RemoveAt_System_Int32_) method as shown in the below code example.
946946

947+
N> 1. Most PDF creators optimize file size by identifying identical images and storing them as shared resources. These shared objects are referenced across multiple pages rather than being duplicated. Therefore, removing a specific page does not automatically remove the shared image resource, as it may still be used on other pages.
948+
949+
This behavior is by design and not considered an issue. If a shared resource is still referenced by other pages, removing it would result in missing content on those pages. In our current implementation, shared resources—such as images, text, and other objects—are only removed when all pages referencing them are deleted.
950+
951+
947952
{% tabs %}
948953

949954
{% highlight c# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/PDF-Examples/master/Pages/Remove-pages-from-the-existing-PDF-document/.NET/Remove-pages-from-the-existing-PDF-document/Program.cs" %}

0 commit comments

Comments
 (0)