LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PageHeight Property
See Also 
Leadtools.Codecs Namespace > CodecsRasterizeDocumentLoadOptions Class : PageHeight Property



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

Syntax

Visual Basic (Declaration) 
Public Property PageHeight As Double
Visual Basic (Usage)Copy Code
Dim instance As CodecsRasterizeDocumentLoadOptions
Dim value As Double
 
instance.PageHeight = value
 
value = instance.PageHeight
C# 
public double PageHeight {get; set;}
C++/CLI 
public:
property double PageHeight {
   double get();
   void set (    double value);
}

Property Value

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

Example

For an example, refer to CodecsRasterizeDocumentLoadOptions.

Remarks

The values 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.

If the value of CodecsRasterizeDocumentLoadOptions.Enabled is set to true, then PageWidth and PageHeight will be used instead of the following properties:

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also