I was using this code before to get an array of bitmaps but after upgrading, DocumentRenderer is no longer there.
DocumentRenderer renderer = new DocumentRenderer(_document);
Bitmap[] pages = renderer.GetPages();
How can I accomplish this same task?