See Also

Document Class  | Document Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Pages Property

Gets a reference to the document's pages.

[Visual Basic]
Public ReadOnly Property Pages As PagesCollection
[C#]
public PagesCollection Pages {get;}

Remarks

Use this collection to add, remove or modify the pages of the document.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    for(int i = 0; i<Document.Pages.Count;i++) 
    { 
        this.Document.Pages[i].AddBookmark("New Bookmark", 25); 
    } 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Dim i As Integer
    Try
        For i = 0 To Me.Document.Pages.Count - 1
            Me.Document.Pages(1).AddBookmark("New Bookmark", 8)
        Next
    Catch ex As Exception
    End Try
End Sub

See Also

Document Class  | Document Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.