This worked perfectly, thank you. However I ran into problem number 2. This does not work with InlineImages. I found this link: https://www.pdftron.com/documentation/samples/dotnetcore/cs/ElementReaderAdvTest so I was able to turn the Inline Image into a byte array, which seems to look like what I am expecting, but when I try to load that byte array into a standard Windows GDI Bitmap I am getting errors. Do I need to do anything else to the array in order for it to become a Bitmap object in C#?
I saw in the above link there is a section of code which makes it appear an Element can turn into a bitmap, however I was unable to find this function/method in the actual intellisense API when using the SDK:
// System.Drawing.Bitmap bmp = image.GetBitmap(); // bmp.Save(output_path + “reader_img_extract_” + image_counter.ToString() + “.png”, System.Drawing.Imaging.ImageFormat.Png);