Method GetAllPageSizes
GetAllPageSizes()
Returns the intrinsic width and height of every page in a single batch call. Faster than calling GetPageWidth(int) / GetPageHeight(int) in a loop because the underlying document or image is resolved only once, and for PDFs each page size is fetched through a single native call rather than two. Units follow the underlying format: points (1/72 in) for PDFs, pixels for images.
public (float Width, float Height)[] GetAllPageSizes()