←Select platform

ThumbsDirection Property

Summary

Gets or sets the flow of the thumbnail images.

Syntax

C#
VB
C++
public ThumbnailsDirection ThumbsDirection { get; set; } 
  
Public Property ThumbsDirection As Leadtools.Web.Controls.ThumbnailsDirection 

Property Value

The flow of the thumbnail images.

Example

This example changes the layout of the WebThumbnailViewer to the required rows x columns.

C#
VB
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Web.Controls; 
 
public void WebThumbnailViewer_ChangeLayout(WebThumbnailViewer webThumbnailViewer, int rows/*ex. 2*/, int columns/*ex. 4*/) 
{ 
   webThumbnailViewer.Columns = columns; 
   webThumbnailViewer.Rows = rows; 
   webThumbnailViewer.LayoutDirection = LayoutDirection.Vertical; 
   webThumbnailViewer.ThumbsDirection = ThumbnailsDirection.TopToBottom; 
 
   webThumbnailViewer.Add(@"Resources\multipage.tif", 1, -1); 
} 
Imports Leadtools 
Imports Leadtools.Codecs 
Imports Leadtools.Web.Controls 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.Add--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.Add--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.Insert--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.Insert--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.ThumbsDirection--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.ThumbsDirection--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.Clear--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.Clear--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.GetThumbnailInfo--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.GetThumbnailInfo--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.PropertyChanged--> 
   ''' <!--Leadtools.Web.Controls.WebThumbnailViewer.PropertyChanged--> 
 
Public Sub WebThumbnailViewer_ChangeLayout(ByVal webThumbnailViewer As WebThumbnailViewer, 
ByVal rows As Integer, ByVal columns As Integer) 'ex. 2, 4 
 
   webThumbnailViewer.Columns = columns 
   webThumbnailViewer.Rows = rows 
   webThumbnailViewer.LayoutDirection = LayoutDirection.Vertical 
   webThumbnailViewer.ThumbsDirection = ThumbnailsDirection.TopToBottom 
 
   webThumbnailViewer.Add("Resources\multipage.tif", 1, -1) 
End Sub 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Web Assembly