Reports for WinForms | ComponentOne
C1.Win.C1Report.4 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / GotoDocumentLocation Method / GotoDocumentLocation(IDocumentLocation,String) Method
A document location to go to.
The caption to use for the history item created by the view change.

In This Topic
    GotoDocumentLocation(IDocumentLocation,String) Method
    In This Topic
    Ensures that the specified document location is visible in the current preview pane.
    Syntax
    'Declaration
     
    Public Overloads Sub GotoDocumentLocation( _
       ByVal documentLocation As IDocumentLocation, _
       ByVal historyItemCaption As String _
    ) 
    public void GotoDocumentLocation( 
       IDocumentLocation documentLocation,
       string historyItemCaption
    )

    Parameters

    documentLocation
    A document location to go to.
    historyItemCaption
    The caption to use for the history item created by the view change.
    See Also