Web API Core | ComponentOne
C1.Web.Api.Pdf Namespace / PdfController Class / ExportPdf Method
The full path of the pdf.
The export options.
The optional exported file name.

In This Topic
    ExportPdf Method
    In This Topic
    Exports the specified pdf to the specified export filter with options.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ExportPdf( _
       ByVal pdfPath As String, _
       ByVal exportOptions As IDictionary(Of String,String), _
       ByVal exportFileName As String _
    ) As IActionResult

    Parameters

    pdfPath
    The full path of the pdf.
    exportOptions
    The export options.
    exportFileName
    The optional exported file name.

    Return Value

    An Microsoft.AspNetCore.Mvc.IActionResult type object with content of exported file stream.
    See Also