Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LImageListControl::GetViewSize

Show in webframe

#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
LTFIL
LTIMG

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LImageListControl::GetFirstVisible, Class Members

Topics:

Using the ImageList Control

Example

For an example, refer to LImageListControl::GetFirstVisible.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.