LEADTOOLS WebForms and AJAX (Leadtools.Web assembly)
LEAD Technologies, Inc

ThumbsDirection Property

Example 





Gets or sets the flow of the thumbnail images.
Syntax
public ThumbnailsDirection ThumbsDirection {get; set;}
'Declaration
 
Public Property ThumbsDirection As ThumbnailsDirection
'Usage
 
Dim instance As WebThumbnailViewer
Dim value As ThumbnailsDirection
 
instance.ThumbsDirection = value
 
value = instance.ThumbsDirection
public ThumbnailsDirection ThumbsDirection {get; set;}
 get_ThumbsDirection();
set_ThumbsDirection(value);
public:
property ThumbnailsDirection ThumbsDirection {
   ThumbnailsDirection get();
   void set (    ThumbnailsDirection value);
}

Property Value

The flow of the thumbnail images.
Example
 
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
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);
}
function WebThumbnailViewer_ChangeLayout(webThumbnailViewer, rows/*ex. 2*/, columns/*ex. 4*/)
{
   webThumbnailViewer.setColumns(columns);
   webThumbnailViewer.setRows(rows);
   webThumbnailViewer.setLayoutDirection(LayoutDirection.Vertical);
   webThumbnailViewer.setThumbsDirection(ThumbnailsDirection.TopToBottom);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WebThumbnailViewer Class
WebThumbnailViewer Members
WebThumbnailViewer Client Class

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.