PdfDocumentExtractBitmapsFromPages Method (Int32, Int32)

Finds all embedded Images from within a range of pages in the PDF and returns them as System.Drawing.Bitmap objects

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.7.1
Syntax
public IEnumerable<Bitmap> ExtractBitmapsFromPages(
	int StartIndex,
	int EndIndex
)

Parameters

StartIndex
Type: SystemInt32
The index of the first PDF page to extract images from.. Note: Page 1 has index 0
EndIndex
Type: SystemInt32
The index of the last PDF page to extract images from.

Return Value

Type: IEnumerableBitmap
IEnumerable of Bitmap. The extracted images as System.Drawing Objects
See Also
Download DLL or Install with Nuget