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

In This Topic
    CreatePdfDocument Method (PdfDocumentProvider)
    In This Topic
    Creates the pdfDocument for the specified pdf path.
    Syntax
    'Declaration
     
    
    Protected Overrides Function CreatePdfDocument( _
       ByVal path As String, _
       ByVal args As NameValueCollection _
    ) As C1.Win.C1Document.C1PdfDocumentSource
    protected override C1.Win.C1Document.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.C1Document.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