ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Web.Viewer Assembly / GrapeCity.ActiveReports.Aspnetcore.Viewer Namespace / ReportingSettings 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 (ReportingSettings)
    In This Topic
    Uses the embedded resources for report files and resources.
    Syntax
    'Declaration
     
    Public Sub UseEmbeddedTemplates( _
       ByVal prefix As String, _
       ByVal asm As Assembly _
    ) 
    public void UseEmbeddedTemplates( 
       string prefix,
       Assembly asm
    )

    Parameters

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