ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Blazor.Designer Assembly / GrapeCity.ActiveReports.Blazor.Designer Namespace / Documents Class / OpenById Method
The report ID.
The document type.
The report name (optional).
The report content (optional).

In This Topic
    OpenById Method
    In This Topic
    Opens an existing report to be edited in Designer with the specified id. Optionally, pass name and content; otherwise, it will be loaded from the server.
    Syntax
    'Declaration
     
    Public Function OpenById( _
       ByVal id As String, _
       ByVal type As SupportedDocumentType, _
       Optional ByVal name As String, _
       Optional ByVal content As String _
    ) As ValueTask(Of OpenDocumentInfo)
    public ValueTask<OpenDocumentInfo> OpenById( 
       string id,
       SupportedDocumentType type,
       string name,
       string content
    )

    Parameters

    id
    The report ID.
    type
    The document type.
    name
    The report name (optional).
    content
    The report content (optional).

    Return Value

    A ValueTask representing the asynchronous operation of opening the document by ID.
    See Also