Aurigma Forums
 » 
Graphics Mill
 » 
Discussions – Graphics Mill
 » 
Horizontal flow layout support for Thumbnail listview control
 
		
        
            
            
	
    | 
Rank: Member
 Groups: Guest
Joined: 5/13/2007(UTC)
 Posts: 1
 
 | 
            
	      
                Is there a way to list all images in the Thumbnail listview control horizontally when in thumbnail view mode?  I want it to work just like windows explorer does when in Filmstrip mode, where all images are tiled horizontally and not vertically.  Is this possible?
 
 *Edit*
 Also, is there a way to have Aurigma auto-rotate the images based on the exif data?  I've noticed when Windows XP is generating the Thumbs.db, it auto-rotates the jpeg images correctly, but the Aurigma thumbnail control does not.
 | 
	
    | 
             | 
            
         | 
    |  | 
        
        
        
         
		   
        
            
            
	
    | 
Rank: Member
 Groups: Guest
Joined: 8/25/2007(UTC)
 Posts: 7
 
 | 
            
	      
                The Aurigma help file has an example of this under the topic heading "Using Working Areas". Here is the C# code from the help file Code://Create a PIDL
Aurigma.GraphicsMill.WinControls.Pidl pidl =
    Aurigma.GraphicsMill.WinControls.Pidl.Create(@"C:\Documents and Settings" +
    @"\All Users\Documents\My Pictures\Sample Pictures");
//Set the thumbnail view
thumbnailListView1.View = Aurigma.GraphicsMill.WinControls.View.Thumbnails;
//Add necessary working areas
Rectangle [] areas = {new Rectangle(0, 5, thumbnailListView1.IconSpacing.X * 
    pidl.Items.Length, thumbnailListView1.IconSpacing.Y)};
thumbnailListView1.WorkAreas = areas;
//Clear all previously displayed items
thumbnailListView1.Items.Clear();
int itemIndex = 0;
//Add each item in the folder to the thumbnail list
foreach (Aurigma.GraphicsMill.WinControls.Pidl subPidl in pidl.Items)
{
    thumbnailListView1.Items.Add(new
        Aurigma.GraphicsMill.WinControls.ThumbnailListItem(subPidl));
    //Move the added item to a required working area
    thumbnailListView1.MoveItemToWorkArea(itemIndex, 0);
    itemIndex++;
}
 Edited by user Monday, December 17, 2007 1:22:21 PM(UTC)
 | Reason: Not specified | 
	
    | 
             | 
            
         | 
    |  | 
        
        
        
    
		
        
            
            
	
    | 
Rank: Advanced Member
 Groups: Guest
Joined: 8/3/2003(UTC)
 Posts: 1,070
 
 Thanks: 1 timesWas thanked: 12 time(s) in 12 post(s)
 
 | 
            
	      
                Hello bcardi,
 Thanks for your post.
 | 
|  | 
	
    | 
             | 
            
         | 
    |  | 
        
        
        
    
Aurigma Forums
 » 
Graphics Mill
 » 
Discussions – Graphics Mill
 » 
Horizontal flow layout support for Thumbnail listview control
 
    
        Forum Jump
         
    
    You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.