ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / pageWidth Property

In This Topic
    pageWidth Property
    In This Topic
    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