ImageGear .NET v24.12 - Updated
pageWidth Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PageView class : pageWidth Property
Indicates the width of the current image.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_pageWidth() : Number
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfPageView.get_pageWidth();
Remarks

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.

See Also

Reference

PageView class
PageView Members