ImageGear for .NET
pageWidth Property
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > PageView Class : pageWidth Property

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.