←Select platform

PixelWidth Property

Summary

Gets the physical width this page in pixels.

Syntax

C#
VB
C++
[DataMemberAttribute(Name="pixelWidth", Order=2)] 
public int PixelWidth { get; } 
  
Public ReadOnly Property PixelWidth As Integer 
public: 
property int PixelWidth { 
   int get(); 
} 

Property Value

A System.Int32 that specifies the physical width of this page in pixels.

Remarks

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 

Example

For an example, refer to DocumentReaderPage.

Requirements

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly