Click or drag to resize

WebImageViewerCurrentPage Property

Gets a value indicating the current page of a multi-page image being viewed in this control.

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: (.NET 4.5.2, x86)
public int CurrentPage { get; }

Property Value

Type: Int32
An integer value indicating the current page of the control.
This only returns the page number that was opened by the control. If the image is modified in any way, the page gets set to 1, because the control creates a new image every time something is processed. To display a particular page in a multipage image, use the Open(RandomAccessImageSource) or OpenUrl(String) methods.
See Also