←Select platform

PageNumber Property

Summary

Page number to use if Image has more than one page (frame).

Syntax

C#
VB
C++
public int PageNumber { get; set; } 
Public Property PageNumber() As Integer 
   Get 
   Set 
public:  
   property int PageNumber 
   { 
      int get() 
      void set(int value) 
   } 

Property Value

The 1-based page number to use by this item of Image has more than one page. Default value is 0.

Remarks

This value is used as the 1-based page number when a valid object is set in the Image property. RasterImage supports multi-page images (frames) and the same value can be set in multiple items. Use PageNumber to control which page is used by the item.

Note that even through the default value of 0 is not a legal page number, the item will check and internally revert to using 1 (first page).

ImageViewerPagerInteractiveMode uses the value of this property to cycle through the pages of a multi-page image in an item.

For more information, refer to Image Viewer Items.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly