/// <summary>
 /// Convert a <see cref="PhysicalPageSize" /> value to a <see cref="PdfRectangle" /> representing the size of the page.
 /// </summary>
 /// <param name="pageSize">The page size to be converted.</param>
 /// <returns>A <see cref="PdfRectangle" /> instance containing the dimensions of the page (in portrait orientation).
 /// The first coordinate pair is (0,0); the second is (width, height).</returns>
 public static PdfRectangle ToPdfRectangle(this PhysicalPageSize pageSize)
 {
     return(pageSize.ToUniSize().ToPdfRectangle());
 }