Click or drag to resize

PdfFocusToImage Method

Saves all pages of the PDF document into ArrayList with images as byte streams.

Namespace: SautinSoft
Assembly: SautinSoft.PdfFocus (in SautinSoft.PdfFocus.dll) Version: 2024.3.28
public ArrayList ToImage()

Return Value

ArrayList containing images as byte streams, where each image corresponds to each PDF page

not null - converting successfully
null - converting failed
Before converting you may set various image properties using the property ImageOptions. For example, set:
  • Dpi - image resolution in dots per inch. Default value: 200
  • ImageFormat - format for produced images as standard ImageFormat. Default value: Png
  • ColorDepth - color depth or bit depth is the number of bits used to represent the color of a single pixel. Default value: 24 bit RGB
See Also