[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Blazor.Designer.Documents.OpenById

OpenById Method

OpenById(string, SupportedDocumentType, string, string)

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.

Declaration
public ValueTask<OpenDocumentInfo> OpenById(string id, SupportedDocumentType type, string name = null, string content = null)
Parameters
Type Name Description
string id

The report ID.

SupportedDocumentType type

The document type.

string name

The report name (optional).

string content

The report content (optional).

Returns
Type Description
ValueTask<OpenDocumentInfo>

A System.Threading.Tasks.ValueTask<> representing the asynchronous operation of opening the document by ID.