Web API Core | ComponentOne
C1.Web.Api.Pdf Namespace / PdfProvider Class / CreatePdfDocument Method
The relative path of the pdf.
The collection of HTTP query string variables.

In This Topic
    CreatePdfDocument Method (PdfProvider)
    In This Topic
    Creates the pdfDocument for the specified pdf path.
    Syntax
    'Declaration
     
    
    Protected MustOverride Function CreatePdfDocument( _
       ByVal path As String, _
       Optional ByVal args As NameValueCollection _
    ) As C1.Win.Document.C1PdfDocumentSource
    protected abstract C1.Win.Document.C1PdfDocumentSource CreatePdfDocument( 
       string path,
       NameValueCollection args
    )

    Parameters

    path
    The relative path of the pdf.
    args
    The collection of HTTP query string variables.

    Return Value

    A C1.Win.Document.C1PdfDocumentSource created for the specified path.
    Remarks
    If overiding this method, you can create the pdfDocument by yourself, or modify the pdfDocument created by base.
    See Also