www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/+mbcgui/+widget/@ScrollTable/getVisibleSize.m

    function sz = getVisibleSize(obj)
%GETVISIBLESIZE Return the current number of visible rows/columns
%
%  SIZE = GETVISIBLESIZE(OBJ) returns the number of rows and columns that
%  are currently visible in the table.
%
%  Note that fewer rows/columns may be actually displayed if the data size is
%  smaller than this size.

%  Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc.


sz = [obj.VisibleRows, obj.VisibleCols];