←Select platform

PageHeight Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public double PageHeight { get; set; } 
Public Property PageHeight As Double 
public double PageHeight {get; set;} 
@property (nonatomic, assign) double pageHeight 
public double getPageHeight() 
public void setPageHeight(double value) 
             
 <br/>get_PageHeight();<br/>set_PageHeight(value);<br/>Object.defineProperty('PageHeight');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly