ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView class : pageWidth Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_pageWidth() : Number |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfPageView.get_pageWidth(); |
This read-only property will be the width of the image in pixels for raster images, or points (1/72 of an inch) for PDF images. The value will always be an integer for raster images, but may not be an integer for PDF images.
If you need to know the width of an image in inches, simply divide this value by the pageXResolution property.