←Select platform

PageWidth Property

Summary

Gets or sets the resulting raster image suggested width in Unit.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public double PageWidth { get; set; } 
Public Property PageWidth As Double 
public double PageWidth {get; set;} 
@property (nonatomic, assign) double pageWidth 
public double getPageWidth() 
public void setPageWidth(double value) 
             
 <br/>get_PageWidth();<br/>set_PageWidth(value);<br/>Object.defineProperty('PageWidth');  
public: 
property double PageWidth { 
   double get(); 
   void set (    double ); 
} 

Property Value

A Double value that indicates the resulting RasterImage suggested width in Unit. Default value is 8.5 inches. The value of PageWidth must be greater than 0.

Remarks

The value of the resulting raster image width and height in pixels depends on the current resolution and size mode values. For more information refer to CodecsRasterizeDocumentLoadOptions.

Use PageHeight to set the resulting raster image suggested height. PageWidth and PageHeight are in Unit.

When the value of SizeMode is set to CodecsRasterizeDocumentSizeMode.None, the original document size is kept and hence PageWidth and PageHeight will not be used.

Example

For an example, refer to CodecsRasterizeDocumentLoadOptions.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly