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

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

    Return Value

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