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

In This Topic
    PageView class
    In This Topic
    This is an ASP.NET client control for viewing images.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    ImageGear.Web.UI.PageView = function() {};
    ASP.NET Ajax JavaScript (Usage) 
    var instanceVar = new ImageGear.Web.UI.PageView();
    Remarks

    This ASP.NET client control is an image viewer.

    While it is possible to create an instance of this control using client-side JavaScript, you will normally create it by placing a server-side PageView control on an aspx page. If you wish to create an instance of this control using client-side JavaScript, take the following steps:

    • Add an empty <DIV> to your HTML.
    • Give your <DIV> a unique ID (Example:viewer1).
    • Give your <DIV> a size, in pixels, using either a CSS style sheet or an inline style.
    • If using Microsoft Ajax library, add the following code to your page.

      $create(ImageGear.Web.UI.PageView, { imageHandlerUrl: "ImageGearService.svc", artServiceOption: ImageGear.Web.UI.ImGearArtDataServices.ArtDataService }, null, null, $get("viewer1"));
      
      

    • If using ImageGear jQuery Plugins, add the following code to your page.

      $("#viewer1").ImGearPageViewPlugin({ imageHandlerUrl: "ImageGearService.svc", artServiceOption: ImageGear.Web.UI.ImGearArtDataServices.ArtDataService });
      
      

    Inheritance Hierarchy

    Object
       Sys.Component
          Sys.UI.Control
             ImageGear.Web.UI.PageView

    See Also