L_INT LImageListControl::GetViewSize()
Gets the view size of the ImageList Control.
Value | Meaning |
---|---|
>= 0 | The number of rows or columns of items that can be viewed. |
< 0 | An error occurred. Refer to Return Codes. |
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.
Win32, x64.
For an example, refer to LImageListControl::GetFirstVisible.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document