←Select platform

Index Property

Summary

A zero-based integer that specifies the current position in number of items to load.

Syntax

C#
VB
C++
public int Index { get; } 
  
Public ReadOnly Property Index As Integer 
public: 
property int Index { 
   int get(); 
} 

Property Value

The zero-based integer that specifies the current position in number of items to load.

Remarks

You can use the Index and the Total properties to update a progress bar for the load process. You need to set up the progress bar with the following:

Property Value
ProgressBar.Minimum 0 - You only need to set this the first time.
ProgressBar.Maximum Total - You only need to set this the first time.
ProgressBar.Value Index
Example

For an example, refer to RasterThumbnailBrowser.LoadThumbnail.

Requirements

Target Platforms

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

Leadtools.WinForms Assembly