Click or drag to resize

PdfDocumentPageToBitmap Method (Int32)

Renders a single page of the PDF to a System.Drawing.Bitmap object.

Please add an assembly reference to System.Drawing to use this "PDF To Image" method

Please Dispose() each Bitmap object after use.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: (
public Bitmap PageToBitmap(
	int PageNumber


Type: SystemInt32
The page number to be converted to an image.

Return Value

Type: Bitmap

[Missing <returns> documentation for "M:IronPdf.PdfDocument.PageToBitmap(System.Int32)"]

See Also