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
public int PixelWidth {get;}
get_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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2