Visual Basic (Declaration) | |
---|---|
Public Property PageWidth As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double PageWidth {get; set;} |
Return Value
A Double value that indicate the result RasterImage suggested width in Unit. Default value is 8.5 inches. The value of PageWidth must be greater than 0.The value of the result 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 result 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:
When loading RTF documents: CodecsRtfLoadOptions.PaperWidth and CodecsRtfLoadOptions.PaperHeight When loading TXT documents: CodecsTxtLoadOptions.PaperWidth and CodecsTxtLoadOptions.PaperHeight
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family