PdfContentEditor.DeleteImage
DeleteImage(int, int[])
تحذف الصور المحددة في الصفحة المحددة.
public void DeleteImage(int pageNumber, int[] index)
| Parameter | Type | Description |
|---|---|---|
| pageNumber | Int32 | رقم الصفحة التي يجب حذف الصور منها. |
| index | Int32[] | مصفوفة تمثل فهارس الصور. |
Examples
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.DeleteImage(1, new int[] {1, 2});
editor.Save("example_out.pdf");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
DeleteImage()
تحذف جميع الصور من مستند PDF.
public void DeleteImage()
Examples
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.DeleteImage();
editor.Save("example_out.pdf");
See Also
- class PdfContentEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF