ComponentOne Upload for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ReportViewer Namespace / C1ReportViewer Class / CreateC1Report Method

In This Topic
    CreateC1Report Method
    In This Topic
    Creates a new instance of C1.C1Report.C1Report with its properties adjusted to better work with C1ReportViewer. This method creates a licensed instance of C1Report provided it is invoked on a licensed instance of C1ReportViewer.
    Syntax
    'Declaration
     
    Public Shared Function CreateC1Report() As C1Report
    public static C1Report CreateC1Report()

    Return Value

    The new instance of C1.C1Report.C1Report.
    Remarks
    The following properties are adjusted on the created C1.C1Report.C1Report:
    • C1.C1Report.C1Report.UseGdiPlusTextRendering is set to true;
    • C1.C1Report.C1Report.EmfType is set to EmfType.EmfPlusOnly;
    • C1.C1Report.C1Report.ColorizeHyperlinks is set to true.
    See Also