ActiveReports 9
Clear Method (BookmarksCollection)
Example 

Removes all bookmarks from the collection.
Syntax
'Declaration
 
Public Shadows Sub Clear() 
public new void Clear()
Example
private void btnClearTOC_Click(object sender, System.EventArgs e)
{
    MessageBox.Show ("Clearing " + arv.Document.Bookmarks.Count.ToString() + " bookmarks.");
    arv.Document.Bookmarks.Clear();
    arv.TableOfContents.Clear();
}
Private Sub btnClearTOC_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClearTOC.Click
    MsgBox("Clearing " & arv.Document.Bookmarks.Count.ToString & " bookmarks.")
    arv.Document.Bookmarks.Clear()
    arv.TableOfContents.Clear()
End Sub
See Also

Reference

BookmarksCollection Class
BookmarksCollection Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum