LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

Width Property (PDFFilePage)






Gets or sets the width of the PDF page.
Syntax
public double Width {get; set;}
'Declaration
 
Public Property Width As Double
'Usage
 
Dim instance As PDFFilePage
Dim value As Double
 
instance.Width = value
 
value = instance.Width
public double Width {get; set;}
 get_Width();
set_Width(value);
public:
property double Width {
   double get();
   void set (    double value);
}

Property Value

The width of the PDF page in PDF units (1/72 of an inch). The default value is 0.
Remarks

The PDFFilePage structure contains the width and height of the page in PDF units which is read from the PDF file directly. PDF page units are in 1/72 of an inch, so a page size of 612 by 792 corresponds to 8.5 by 11 inches (612/72 by 792/72).

This property returns the width of the PDF crop box. For more information, refer to PDF Coordinate System.

Example

For an example, refer to PDFFile.Pages.

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

See Also

Reference

PDFFilePage Structure
PDFFilePage Members
PDF Coordinate System

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.