RowCount example for Visual Basic
Dim LinesPerPage As Long
If (LEADImgList1.ScrollStyle = IMGLST_SCROLLSTYLE_VERTICAL) Then
LinesPerPage = LEADImgList1.RowCount / LEADImgList1.PageCount
Else
LinesPerPage = LEADImgList1.ColumnCount / LEADImgList1.PageCount
End If
MsgBox "LinesPerPage = " & LinesPerPage