Method GetImages
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetImages()
Returns an enumerable collection of regular and inline images used in this document.
public IEnumerable<PdfImage> GetImages()
Returns
- IEnumerable<PdfImage>
An enumerable collection of regular and inline images used in this document.
Remarks
The returned collection contains only images referenced by PDF objects like pages or form XObjects.
When you save the document with the RemoveUnusedObjects
property set to true
, all unused regular images will be removed.
The Extract PDF images section shows how to enumerate images in PDF documents.
GetImages(bool)
Returns an enumerable collection of images used in this document.
public IEnumerable<PdfImage> GetImages(bool includeInlineImages)
Parameters
includeInlineImages
boolThe value indicating whether to include inline images in the returned collection.
Returns
- IEnumerable<PdfImage>
An enumerable collection of images used in this document. Depending on the
includeInlineImages
, the collection may include inline images.
Remarks
Check the IsInline property for more information about inline images.
The returned collection contains only images referenced by PDF objects like pages or form XObjects.
When you save the document with the RemoveUnusedObjects
property set to true
, all unused regular images will be removed.
The Extract PDF images section shows how to enumerate images in PDF documents.