←Select platform

PageHeight Property

Summary
Gets or sets the resulting raster image suggested height in Unit.
Syntax
C#
VB
Objective-C
C++
Java
public double PageHeight { get; set; } 
Public Property PageHeight As Double 
@property (nonatomic, assign) double pageHeight 
public double getPageHeight() 
public void setPageHeight(double value) 
public: 
property double PageHeight { 
   double get(); 
   void set (    double ); 
} 

Property Value

A Double value that indicate the resulting RasterImage suggested height in Unit. Default value is 11 inches. The value of PageHeight must be greater than 0.

Remarks

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

Use PageHeight to set the resulting raster image suggested height. Both 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.