Gets an image that contains one or more page thumbnails.
public RasterImage GetThumbnailsGrid(
int firstPageNumber,
int lastPageNumber,
int maximumGridWidth
)
Public Function GetThumbnailsGrid(
ByVal firstPageNumber As Integer,
ByVal lastPageNumber As Integer,
ByVal maximumGridWidth As Integer
) As RasterImage
public:
RasterImage^ GetThumbnailsGrid(
int firstPageNumber,
int lastPageNumber,
int maximumGridWidth
)
public RasterImage getThumbnailsGrid(int firstPageNumber, int lastPageNumber, int maximumGridWidth)
firstPageNumber
1-based number of the first page number in the document.
lastPageNumber
1-based number of the last page number in the document.
maximumGridWidth
The maximum width of the grid in pixels.
A raster image object that contains the thumbnails in a grid layout.
GetThumbnailsGrid can be used to obtain the thumbnails of one or more pages in a single call. The result image will contain the images in a grid layout. The grid with will be less than or equal to maximumGridWidth in pixels and the height is determined automatically from the number of images to obtain.
The LEADTOOLS Document Viewer can use GetThumbnailsGrid to speed up obtaining the thumbnails of the pages in the document instead of iterating each page and calling DocumentPage.GetThumbnailImage.
Note that this method does not update the cache.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET