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
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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help