ImageGear .NET v25.2 - Updated
ImageGear.Web Assembly / ImageGear.Web.UI Namespace / PageView Class / PageNumber Property




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