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

Glossary Item Box

Creates a new instance of the ImGearPage class.

Syntax

ASP.NET Ajax Javascript (Specification) 
ImageGear.Web.UI.ImGearPage = function() {};
ASP.NET Ajax Javascript (Usage) 
var instanceVar = new ImageGear.Web.UI.ImGearPage();

Return Value

An ImGearPage object can be created by passing input parameter ImageGear.Web.UI.ImGearPageCreateArgs with property pageNumber. It is not necessary to create the ImageGear.Web.UI.ImGearPageCreateArgs. The parameters can also be passed as shown in the examples below:

Example 1

In this example, an ImGearPage object is created using just the pageNumber parameter:

var newpage = new ImageGear.Web.UI.ImGearPage ({pageNumber: 1});

Example 2

In the following example, an ImGearPage object is created using the pageNumber and the caption properties:

var newpage = new ImageGear.Web.UI.ImGearPage ({pageNumber: 1, caption:”Page1”});

See Also

©2013. Accusoft Corporation. All Rights Reserved.