Method GetPageSize
GetPageSize(int)
Returns the intrinsic width and height of a single page. Cheaper than GetAllPageSizes() when only one page is needed: it resolves the underlying document or image once and queries just that page rather than every page. Units follow the underlying format: points (1/72 in) for PDFs, pixels for images.
public (float Width, float Height) GetPageSize(int pageIndex)
Parameters
pageIndexintZero-based page index.