ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Web.Viewer Assembly / GrapeCity.ActiveReports.Web.Viewer Namespace / ReportViewerConfiguration Class / UseEmbeddedTemplates Method
A System.String value indicating the prefix used to locate the embedded templates within the assembly.
An System.Reflection.Assembly object containing the templates.
Example

In This Topic
    UseEmbeddedTemplates Method (ReportViewerConfiguration)
    In This Topic
    Uses the embedded resources for report files and resources.
    Syntax
    'Declaration
     
    Public Sub UseEmbeddedTemplates( _
       ByVal resourcePrefix As String, _
       ByVal assembly As Assembly _
    ) 
    public void UseEmbeddedTemplates( 
       string resourcePrefix,
       Assembly assembly
    )

    Parameters

    resourcePrefix
    A System.String value indicating the prefix used to locate the embedded templates within the assembly.
    assembly
    An System.Reflection.Assembly object containing the templates.
    Example
    app.UseReportViewer(config =>
    {
       config.UseEmbeddedTemplates("MyProject.Reports", Assembly.GetExecutingAssembly());
    });
    See Also