ActiveReports 9
FillTree Method
Example 

Specifies the TreeView control to be filled with the bookmark objects.
Loads the Bookmark objects into the Windows Forms TreeView control.
Syntax
'Declaration
 
Public Sub FillTree( _
   ByVal treeView As System.Windows.Forms.TreeView _
) 
public void FillTree( 
   System.Windows.Forms.TreeView treeView
)

Parameters

treeView
Specifies the TreeView control to be filled with the bookmark objects.
Remarks
You can use this method to fill any TreeView with the bookmarks collection and customize the look and feel of the Table of Contents.
Example
private void frmViewer_Load(object sender, System.EventArgs e)
{
   arv.Document.Bookmarks.FillTree(treeView1);
}
Private Sub frmViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
    arv.Document.Bookmarks.FillTree(TreeView1)
End Sub
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

BookmarksCollection Class
BookmarksCollection Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum