Get Paper Width and Height of Page

Possible Usage Scenarios

Sometimes, you need to know the width and height of paper size as it has been set in page setup of the page. Please use the PageProps.PageWidth and PageProps.PageHeight properties for this purpose.

Get Page Width and Height of Page Prop of Page

The following sample code explains the usage of PageProps.PageWidth and PageProps.PageHeight properties.

Sample Code