←Select platform

PageWidth Property

Summary
Gets or sets the resulting raster image suggested width in Unit.
Syntax
C#
VB
Objective-C
C++
Java
public double PageWidth { get; set; } 
Public Property PageWidth As Double 
@property (nonatomic, assign) double pageWidth 
public double getPageWidth() 
public void setPageWidth(double value) 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.