LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

PageWidth Property (CodecsRasterizeDocumentLoadOptions)






Gets or sets the resulting raster image suggested width in Unit. .NET support WinRT support
Syntax
public double PageWidth {get; set;}
'Declaration
 
Public Property PageWidth As Double
'Usage
 
Dim instance As CodecsRasterizeDocumentLoadOptions
Dim value As Double
 
instance.PageWidth = value
 
value = instance.PageWidth
public double PageWidth {get; set;}
 get_PageWidth();
set_PageWidth(value);
public:
property double PageWidth {
   double get();
   void set (    double value);
}

Property Value

A System.Double value that indicates the resulting Leadtools.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsRasterizeDocumentLoadOptions Class
CodecsRasterizeDocumentLoadOptions Members
CodecsRasterizeDocumentLoadOptions Class
Implementing PDF Plug in Features
CodecsDocumentImageInfo Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.