ImageGear .NET v24.12 - Updated
PageNumber Property (PageView)




ImageGear24.Web Assembly > ImageGear.Web.UI Namespace > PageView Class : PageNumber Property
Gets or sets the Image Page number. This property refers to the page number to be displayed in a multipage document.
Syntax
'Declaration
 
<DescriptionAttribute("The page number of a multipage document to be displayed. A single page document has a value zero.")>
<DefaultValueAttribute(0)>
<CategoryAttribute("PageView Properties")>
<BrowsableAttribute(True)>
Public Property PageNumber As Integer
'Usage
 
Dim instance As PageView
Dim value As Integer
 
instance.PageNumber = value
 
value = instance.PageNumber
[Description("The page number of a multipage document to be displayed. A single page document has a value zero.")]
[DefaultValue(0)]
[Category("PageView Properties")]
[Browsable(true)]
public int PageNumber {get; set;}
[Description("The page number of a multipage document to be displayed. A single page document has a value zero.")]
[DefaultValue(0)]
[Category("PageView Properties")]
[Browsable(true)]
public: __property int get_PageNumber();
public: __property void set_PageNumber( 
   int value
);
[Description("The page number of a multipage document to be displayed. A single page document has a value zero.")]
[DefaultValue(0)]
[Category("PageView Properties")]
[Browsable(true)]
public:
property int PageNumber {
   int get();
   void set (    int value);
}

Property Value

An integer value.
Remarks

This property will be the page number for the image to be displayed in the Viewer. The value is zero for a single document image file. The first page of a file has an image page index of zero.

The default value is 0

See Also

Reference

PageView Class
PageView Members