Leadtools.Forms.DocumentReaders Namespace > DocumentReaderPage Class : PixelWidth Property |
public int PixelWidth {get;}
'Declaration Public ReadOnly Property PixelWidth As Integer
'Usage Dim instance As DocumentReaderPage Dim value As Integer value = instance.PixelWidth
The logical size of the page is set in the Size property and the resolution is set in the DpiX and DpiY properties. The physical size is calculated as the following and set in PixelWidth and PixelHeight:
PixelWidth = page.Size.Width * page.DpiX
PixelHeight = page.Size.Height * page.DpiY
For an example, refer to DocumentReaderPage.