ImageGear .NET v25.2 - Updated
ImageGear.Web.Services Assembly / ImageGear.Web.DataProviders Namespace / MarkupImageDataConnection Class / OpenDocument Method
Used to indicate the identifier of the document with which the Page data is associated.
Any additional parameters to pass when opening a document. Currently always null.




In This Topic
    OpenDocument Method (MarkupImageDataConnection)
    In This Topic
    This opens a connection to a specific DocumentIdentifier and returns a connection to that document. It will also add the ImageDocumentDataConnection object to the openDocuments set.
    Syntax
    'Declaration
     
    Public MustOverride Function OpenDocument( _
       ByVal documentIdentifier As String, _
       Optional ByVal documentContextData As NameValueCollection _
    ) As MarkupImageDocumentDataConnection
    'Usage
     
    Dim instance As MarkupImageDataConnection
    Dim documentIdentifier As String
    Dim documentContextData As NameValueCollection
    Dim value As MarkupImageDocumentDataConnection
     
    value = instance.OpenDocument(documentIdentifier, documentContextData)

    Parameters

    documentIdentifier
    Used to indicate the identifier of the document with which the Page data is associated.
    documentContextData
    Any additional parameters to pass when opening a document. Currently always null.

    Return Value

    ImageDocumentDataConnection object.
    Remarks

    For details, refer to the "ImageGear.Web.UI.PageView.DocumentIdentifier".

    See Also