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

Glossary Item Box

Gets the page collection that is contained in this document.

Syntax

ASP.NET Ajax Javascript (Specification) 
function get_pages() : ImGearPageCollection
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearDocument.get_pages();

Remarks

This property gives access to the pages that are contained in a document.

Example: The JavaScript code to add pages is shown below:

var doc = new ImageGear.Web.UI.ImGearDocument({documentIdentifier:'MyImage.tif'});

var _page = new ImageGear.Web.UI.ImGearPage({pageNumber:1,caption:'This is the Caption for page 1'});

doc.get_pages().addPages(_page); //add the new page to the document

See Also

©2013. Accusoft Corporation. All Rights Reserved.