Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LImageListControl::GetViewSize
#include "ltwrappr.h"
L_INT LImageListControl::GetViewSize()
Gets the view size of the ImageList Control.
Returns
>= 0 |
The number of rows or columns of items that can be viewed. |
< 0 |
An error occurred. Refer to Return Codes. |
Comments
The view size returned by the function is expressed in terms of rows or columns of items; it represents the number of rows or columns, or partial rows or columns) that can be viewed within the ImageList control.
Whether the returned view size is expressed in terms of rows or columns depends on the current scroll style of the ImageList control (see LImageListControl::SetScrollStyle). If the scroll style is set to SCROLLSTYLE_VERTICAL, then the size is expressed in terms of rows. If it is set to SCROLLSTYLE_HORIZONTAL, then the size is expressed in terms of columns.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
Example
For an example, refer to LImageListControl::GetFirstVisible.