←Select platform

Width Property

Summary

Gets or sets the width of the PDF page.

Syntax

C#
VB
C++
public double Width { get; set; } 

Public Property Width As Double 

public: 
property double Width { 
   double get(); 
   void set (    double ); 
} 

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

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

Leadtools.Pdf Assembly