←Select platform

PageWidth Property

Summary
Gets or sets the resulting raster image suggested width in Unit.
Syntax
C#
Objective-C
C++
Java
public double PageWidth { get; set; } 
@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:

Value Description
>=0 The value must be greater than or equal to 0.
8.5 Default value in inches.
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 22.0.2022.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.